I am aware that field dependencies can only be created on Picklist and checkbox fields.

What I am trying to achieve is the following: when a certain value from a picklist field is selected, some TEXT fields will be shown on the page.

For example: I have a picklist with the following values: A B If A is selected, text fields One and Two will be visible on the page. If B is selected, text fields, Three and Four will be visible on the page.

I did some research and I read this could be achievable with Visualforce, but I'm pretty new with it and I'm not sure how this should be done.

Could anyone help?


  • Is picklist on standard object or Custom?
    – User6670
    Jan 27, 2021 at 10:39

1 Answer 1


@robruf, have a look on the answer of this question, it is similar to your requirement- Render an InputText based on Selected Option

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.