function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
Ralph PenceRalph Pence 

How to use true/false statements in visualforce email?

I'm working on a visualforce email template. I'm trying to display a textarea only if a certain checkbox is unchecked, but I keep getting the error: "Incorrect number of parameters for function 'IF()'. Expected 3, received 1"    

Here is my code:
<apex:outputText rendered="{!IF(cx.Activity_Completed__c == FALSE)}"><apex:param value="{!cx.Activity__c}" /></apex:outputText>
Best Answer chosen by Ralph Pence
kevin lamkevin lam
<apex:outputField value="{!cx.Activity__c}" rendered="{!NOT(cx.Activity_Completed__c)}"/>