You need to sign in to do that
Don't have an account?
Sami Ullah Azam
Show picklist fields based on selected value of other picklist.
I am having 5 picklists in the visualforce page. The first picklist have 2 values (e.g Product 1, Product 2). When the product 1 value selected then it will show only 2 remaining picklists and thier values but when product 2 is selected it should show remaining 4 picklist fields how can I do that. Please help. My Vf Code is.
<apex:page StandardController="Account" extensions="accpickvalues"> <apex:form > <apex:pageBlock mode="edit"> <apex:message id="msg" /> <apex:pageBlockSection title="Select Model Attributes" > <apex:inputField value="{!c.Valve_Series__c}"/> <apex:inputField value="{!c.Model__c}"/> <apex:inputField value="{!c.Valve_Type__c}"/> <apex:inputField value="{!c.Body_Size__c}"/> <apex:inputField value="{!c.Body_Material__c}"/> </apex:pageBlockSection> </apex:pageBlock> </apex:form> </apex:page>
https://help.salesforce.com/articleView?id=000199154&type=1&language=en_US
https://developer.salesforce.com/forums/?id=906F0000000Ar9DIAS