Skip to main content
I have a Date field called Term Date, so when it is blank i need to show as Active on VF page or else Inactive, i am not sure how to get an approach on this. 

Thank you 
1 answer
  1. Jan 24, 2018, 7:59 PM
    <apex:commandButton action="{!testAction}" value="Active" disabled="{!If((Term_Date__c==null),true,false)}"/>

    <apex:commandButton action="{!d}" value="InActive" disabled="{!If((Term_Date__c),false,true))}"/>

     
0/9000