Activity Forums Salesforce® Discussions How to render Visualforce components based on default values?

  • Surbhi

    Member
    June 7, 2016 at 1:56 pm

    Hi Ravi,

    You can take reference from below code:

    <apex:inputField value="{!CustomObjectName.CustomField__c}" rendered="{!IF(CustomObjectName.BooleanVar__c == 'Yes', true, false)}">

    Thanks

Log In to reply.

Popular Salesforce Blogs

Popular Salesforce Videos