+ Start a Discussion
rajasfdcrajasfdc 

how to dependent pciklist using apex classess?

how to dependent pciklist using apex classess?i mean tosay.

when l1, l2, l3 are three picklists once i change value on l1 at that time l2 is enabled.and also displaying relevent values in the l2 as per l1.for ex:

i wish to  clik on l1 as india then in the l2 states of india are only displays.once i click on l1 as us only states of usa can displayed.as like l3.with reference of l1.pls clarify this how to done this.i need of code of these.pls clarify.

thanks in advacne.(i set the data india states and us state.)i have an idea how to put picklist in apex by usnig apex:select list

but probelm is what is the way to linked these picklists.

rohitsfdcrohitsfdc

you can use custom settings for that . Take a look into following link. It may help you

 

http://force-salesforce.blogspot.in/2012/06/creati​ng-dependant-pickist-in.html