function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
anil.ax822anil.ax822 

Dependent Picklist in salesforce

I have a picklist status field ,the field contains postponed,scheduled ,canceled values . when i select postponed value ,the custom date field should be made activate ,in other cases it should be inactive.

TrimbleAgTrimbleAg

Are you trying to get this field so that it only becomes an option once selected? hmmm not sure on that... But you can put a validation rule so that the field has to be populated when your picklist equals postponed.

BA_AdminBA_Admin

Just create a validation rule and make the field available only if certain values from picklist are selected

Rajesh_SFGRajesh_SFG

Actually you want dynamically or statically, if you change on dynamic means you should handle through java script otherwise if u need it after 'save' the data, then you can control through the class.

nbknbk

 

By usign Field sets feature you can display control based on picklist selection.