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
phanip adminphanip admin 

i have one visualforce page in two fields (one is text, second one picklist) once i selected the picklist value after text field automatically disable/hide?

Hi Everyone

Please helpme above secenario, anyone give code please ASAP?

Thanks
Manj_SFDCManj_SFDC

<apex:page standardController="sObject"> <apex:form id="myForm"> <apex:inputfield value="{!piklist value }"> <apex:actionSupport event="onchange" reRender="myForm" /> </apex:inputField> <apex:inputField value="{!text field}" rendered="{!piklist value == 'some value'}" /> <apex:inputField value="{!text field}" rendered="{!piklist value != 'some value'}" /> </apex:form> </apex:page>
Manj_SFDCManj_SFDC
Mark this as soleved if that helped you, you too will fetch some points if the question is marked as solved :)