+ Start a Discussion
Develper RKrishDevelper RKrish 

Picklist controlling Text fields.

My Picklist has two values say, Approved, Not-Approved. and another 5 text fields.

 

When selected Approved, 3 text fields should be enabled to enter data and 2 should be disabled.

 

and selected not-approved, 2 text fields are enabled and 3 are disabled.

 

what are different ways to get this and HOW?

Sonam_SFDCSonam_SFDC

Hi RKrish,

 

This is possible through visualforce actionSupport component - the following post talks about the same and has sample code which you can try to implement on your ORG:

http://boards.developerforce.com/t5/Visualforce-Development/Disable-field-in-a-VF-page-based-on-the-values-of-a-picklist/td-p/112522

 

Hope this helps!