You need to sign in to do that
Don't have an account?
Ralph 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>
Here is my code:
<apex:outputText rendered="{!IF(cx.Activity_Completed__c == FALSE)}"><apex:param value="{!cx.Activity__c}" /></apex:outputText>
Thanks,
Kaustav
You have to pass there parameters for the IF condition, try the below code