You need to sign in to do that
Don't have an account?
lavanya gottumukkala
Dynamically displaying picklist values based on value selected in another picklist field in a vf page
Hi All,
We are using a visualforce page and a field 'Taxtype'(Input picklist field contains 10 values) in that page.We are displaying that field from fieldset.Now we got the below requirement.
Based on the country that user selects while registration,we need to display only the related values dynamically in 'Taxtype' field,not all 10 values when he/she redirected to that particular page.
How can we achieve this requirement through apex and visualforce?
Thanks in advance.
We are using a visualforce page and a field 'Taxtype'(Input picklist field contains 10 values) in that page.We are displaying that field from fieldset.Now we got the below requirement.
Based on the country that user selects while registration,we need to display only the related values dynamically in 'Taxtype' field,not all 10 values when he/she redirected to that particular page.
How can we achieve this requirement through apex and visualforce?
Thanks in advance.
Please try the below sample code:
Visual force page: Controller:
I hope It will help you.
Regards,
Jyothsna D