+ 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 :)