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
Victoria KerryVictoria Kerry 

IF statement issues in HTML Email Template

Hello, 

I'm using a classic email template with HTML and can't seem to get this code to work: 

{!IF(Demo_Request__c.Are_we_talking_to_a_CFO_Decision_Maker__c, "yes", "no"}


It's refencing a checkbox for a yes/no question but the test email doesn't show anything where the formula product should be.. Can anyone help? The field name was pulled from the "Copy Merge Field Value" found under Available Merge Fields.
Best Answer chosen by Victoria Kerry
Victoria KerryVictoria Kerry
I figured it out, I was missing a close parenthesis: {!IF(Demo_Request__c.Are_we_talking_to_a_CFO_Decision_Maker__c, "yes", "no")}