You need to sign in to do that
Don't have an account?
Ralph Pence
outputText True/False Statement
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 a syntax error.
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>
Please change the Condition to
<apex:outputText rendered="{!cx.Activity_Completed__c}"><apex:param value="{!cx.Activity__c}" /></apex:outputText>
Please let me know if you have any concerns.
Thanks,
Kaustav
the above will only render if the activity_completed__c field is unchecked (i.e. has the value false).