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
red24red24 

Visualforce Page to Enforce Dependent Picklists

I haven't coded in a while and need some help with enforcing a dependent picklist relationship. 

 

 

What tags do I need in conjuntion with

 

<apex:outputLabel value="Industry Type" for="Industry_Type"/>
<apex:inputfield id="Industry_Type" value="{!account.Industry_Type__c}"/>
<apex:outputLabel value="Industry ISIS" for="Industry_ISIS"/>
<apex:inputfield id="Industry_ISIS" value="{!account.Industry_ISIS__c}"/>
 

Thanks,
Tim

David VPDavid VP

Hi Tim,

 

 

Dependant picklists aren't supported in VisualForce.

Check the link below to see how you can implement the same behaviour using custom objects and lookups.

 

http://wiki.developerforce.com/index.php/Extended_Functionality_of_Visualforce_-_Part_1