You need to sign in to do that
Don't have an account?
snowMonkey
Enabling State and country picklist in Web2lead form
i am trying to get the state and country picklist to work in a Web2lead form and was wondering how to get the cascading picklists(country and its states)done by just changing the HTML.
I can resort to a dropdown of html and Javascript ajax calls to get it done the traditional way, but that is not thru salesforce. Any other ways that you know about to get this cascading thing done by using vf/apex?
I can resort to a dropdown of html and Javascript ajax calls to get it done the traditional way, but that is not thru salesforce. Any other ways that you know about to get this cascading thing done by using vf/apex?
You can use following sample code for cascading picklist :
Also refer following link for more information :
http://help.salesforce.com/HTViewHelpDoc?id=admin_state_country_picklists_overview.htm&language=en_US
Thanks,
Amit Bhardwaj
Question: I was looking for more of a salesforce way of resolving this and not just by using JS. Do you know where this Country and State mappings are stored in SF so i can leverage that mapping in my ajax toolkit calls to sf api.
This way when someone changes the mapping then i dont have to change my code here..
Please refer following links for state country picklist :
http://help.salesforce.com/apex/HTViewHelpDoc?id=admin_state_country_picklists_configure.htm&language=en_US
http://help.salesforce.com/apex/HTViewHelpDoc?id=admin_state_country_picklists_edit_details.htm&language=en_US
Thanks,
Amit Bhardwaj