You need to sign in to do that
Don't have an account?
Srinivas223
The dependent picklist 'dependent_field' requires its controlling field 'Controlling_field' to be present on the page.
I am using pagination to add products on the opportunity. in the second page of pagination I have two fields which are controlling and dependent fields.
when I use this code it is working fine.
the Error code
The client need the first value to be autopopulated and should filter the dependent field values.
I can add dependent picklist values in apex but there are too many values in the controling and dependent fields.
Any suggestions?
I appreciate your help.
Thank you
when I use this code it is working fine.
<apex:pageBlockSection > <apex:InputField value="{!oppty.controlling_field}"/> <apex:inputField value="{!oppty.Dependent_field}"/> </apex:pageBlockSection>the above code works fine. But, the controlling field value is coming from other table based on a value we select in the first vf page. So, when I use outputField for it is throwing the above error.
the Error code
<apex:pageBlockSection > <apex:outputField value="{!oppty.controlling_field}"/> <apex:inputField value="{!oppty.Dependent_field}"/> </apex:pageBlockSection>
The client need the first value to be autopopulated and should filter the dependent field values.
I can add dependent picklist values in apex but there are too many values in the controling and dependent fields.
Any suggestions?
I appreciate your help.
Thank you