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
Arun KArun K 

Drop-down options change based on selection

I have a requirement where I need to have 3 dropdown and when I click USA, In the second dropdown I need to have relevant District Options and when I select Any particualt District I need to get respective Territories.

 

Please advice me the model and what I need to do to achieve this.

 

Thanks

Arun K

Sonam_SFDCSonam_SFDC

Hey Arun,

 

Did you get a chance to explore Dependent picklists?

https://ap1.salesforce.com/help/doc/en/fields_about_dependent_fields.htm

http://ap1.salesforce.com/help/doc/en/fields_defining_field_dependencies.htm

 

Reading your requirements, I believe this should help..

Arun KArun K

Thanks for the reply.

 

Using dependent picklist, we need to select which are dependent values and controlling values.

 

I want to know is there any way where we can get dynamically from records apart from dependent picklist.

Sonam_SFDCSonam_SFDC

When you say "where we can get dynamically from records" -  I understand you  wish to save the drop down  information in object in the form of records and then populate them ?

If yes, code will be the answer to this.