You need to sign in to do that
Don't have an account?
lavanya gottumukkala
Rendering values in a picklist field based on value selected in another picklist field in a visualforce page
Hi All,
We have below requirement.
We have a visualforce page and in that page, we use 2 picklist fields(country,Taxtype).Now we need to render the picklist values of 'Taxtype' based on value selected in the 'country' picklist field in that visualforce page.Can any one help me on this matter?
Thanks in advance
We have below requirement.
We have a visualforce page and in that page, we use 2 picklist fields(country,Taxtype).Now we need to render the picklist values of 'Taxtype' based on value selected in the 'country' picklist field in that visualforce page.Can any one help me on this matter?
Thanks in advance
Please find below sample code for your requirement.
let me know if you have any question on this.
Visualforce Page:
Apex Class:
Let me know if you have any question on this.
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
I would like to dynamically render the state values without hardcoding them in the code
Yes you can add dynamic options there instead of hard code.
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/
I Have one scenario like I have a picklist field and in that A,B,C are the pick list values and I am having users U!,U2,U3.I need to assign Picklist values as A-U1,B-U2,C-U3 how i can achieve this?Thanks in advance
You can full fill your requirement using Recprd type. see below link:
https://help.salesforce.com/HTViewHelpDoc?id=customize_recordtype.htm
Thank You,
Hitesh Patel
Email :- hiteshpatel.aspl@gmail.com
http://mrjavascript.blogspot.in/