I want my command button to be visible if a boolean variable "ReviewedByHCP" is set to false, and hidden if it's set to true.
Here's what I have:
<apex:form>
<apex:commandbutton id="MarkReviewBtn" rendered="{!IF(testResultObj.ReviewedByHCP == false), true,false}" styleClass="btn btnGreen" value="{!$Label.JC_CM_Mark_as_Reviewed}"
onclick="markAsReviewed()" action="{!markAsReviewed}"/>
</apex:form>