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

how to update the picklist value dynamically while selecting another picklist option in picklist field


        I want to update the picklist option dynamically  in picklist field while i selecting the  picklist option in another picklist field ,for example 

  1.state(picklist field)--india,america,if i chose the picklist option as america and clicks any button,it (america)will update in another pickist field.and also have to open the two text fields also.

you can use workflows field update option 
If you want to do it code write java script else you can use workflows
HI Hema,

Are you wanting to do this via code by UI.
If it is through UI then you could make your State field dependent on your Country field. For so, please go to your Country field and on Dependent Fields, Create New, and select state. There you can declare which states are going to be on which Country and all.

Hope that helped!