You need to sign in to do that
Don't have an account?
coolkrish
Visual force page conditional required
Hi,
I am trying to make a field conditionally required in visual force page as below but it is not working:
<apex:inputfield value="{!Account.NPI_vod__c}" required="{!IF(Account.Credentials_vod__c= 'DO', true, false)}" />
Please advise.
Thanks,
Krishna.
I am trying to make a field conditionally required in visual force page as below but it is not working:
<apex:inputfield value="{!Account.NPI_vod__c}" required="{!IF(Account.Credentials_vod__c= 'DO', true, false)}" />
Please advise.
Thanks,
Krishna.
Let me know if it works...
Best,
Nithesh
I even used controller to make it required.....but somehow required attribute getting stuck once it is set and not resetting...
I read in one of the posts that there is an issue with the required attribute to conditionally set it.