You need to sign in to do that
Don't have an account?
Best practice for rendering an input field based on the value of another input field
I have a picklist field called 'Policy__c.policyTerm__c' that contains the following values; 1month, 2months,3months, other. If 'other' is selected I would like to render a field called; 'Policy__c.policyOtherTerm__c' just below it.
I have several of these types of fields where 'other' is a picklist value scattered thru a visualforce page. What is the best way to use the <apex:actionSupport> component to accomplish this ?
Have seen several post on rendering output panels,... but its not clear how to best accomplish this.
I have several of these types of fields where 'other' is a picklist value scattered thru a visualforce page. What is the best way to use the <apex:actionSupport> component to accomplish this ?
Have seen several post on rendering output panels,... but its not clear how to best accomplish this.
<apex:outputField Id='otherTerm' value="{!policyOtherTerm__c}" />
All Answers
<apex:outputField Id='otherTerm' value="{!policyOtherTerm__c}" />