function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
lavanya gottumukkalalavanya gottumukkala 

How to display the values of a picklist field based on value selected in another picklist field using record types in a vf page

Hi all,

We have a requirement.We have one visualforce page and in that field we have two picklist fields country and taxtype.(<apex:inputfield>).Now i want to filter the values of taxtype field based on value selected in country field.Is it possible with record types?If possible how to implement that one.It's very urgent.

Thanks in advance
Andy BoettcherAndy Boettcher
This is a standard use case for dependent picklists.  

https://help.salesforce.com/apex/HTViewHelpDoc?id=fields_defining_field_dependencies.htm&language=en_US

If you are using apex:inputField controls - the declarative dependencies will just flow through.