FavoriteAnirudh sharma peri asked in #VisualforceJan 24, 2018, 7:53 PMHow to show Active or Inactive in a VF pageI 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 answerSortSort by DateSort by Most HelpfulSort by DateRajamohan Vakati (Amazon)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))}"/> Add a commentWrite an answer...BoldItalicUnderlineStrikethroughBulleted ListNumbered ListAdd linkCode blockInsert imageAttach filesLink URLCancelSave0/9000Reply
Rajamohan Vakati (Amazon)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))}"/>