You need to sign in to do that
Don't have an account?
CvrK
How to call a picklist field based on the selected value of another picklist field?
Hi,
How to call a picklist field based on the selected value of another picklist field?
For Ex: if i have a Picklist field Named Request__c with values Auditing and Consulting
When I select Auditing value,another picklist field named US__c should be displayed, similarly if Consulting__c is selected,UK__c should be displayed.
please provide the sample code if possible.
Thanks
Cvrk
How to call a picklist field based on the selected value of another picklist field?
For Ex: if i have a Picklist field Named Request__c with values Auditing and Consulting
When I select Auditing value,another picklist field named US__c should be displayed, similarly if Consulting__c is selected,UK__c should be displayed.
please provide the sample code if possible.
Thanks
Cvrk
You can Use Depended Picklist, if still it does not meet your criteria, you can refer below link for creating it via Apex.
http://blog.deadlypenguin.com/blog/2012/07/09/dynamic-dependent-picklists-in-salesforce/
Hope this helps,
--
Thanks,
Swayam
@salesforceguy
There is a no need to create a Apex code to Field dependency you can simply done this by using the Configuration.
Can you please check out below Link-:http://www.salesforcetutorial.com/field-dependency-in-salesforce/
If you want Code means use this Link-:http://www.infallibletechie.com/2012/10/dependent-picklist-using-apex-in.html
Thanks
Raj.
(Sweet Potato Tec)