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
SashibansalSashibansal 

Html email template

Hi

 

I have created an html email template according to the requirement

i need to display the check box value for one field i.e.

  •     Was the trainer present (yes, if checked – no, if unchecked),

i have done this way Was the GAP Card Site reviewed: (yes, if checked – no, if unchecked

                              {!if(!Visit__c.traine attended ''Yes'', "No")} its not working

kindly help me in displaying the checkbox value...

 

 

 

Thankls in advance

sashi

izayizay

The if statement should look like this:

 

{!IF(Visit__c.traine_attended__c, "Yes", "No")}

This should display Yes if the value is true(checked) and No if the value is false(unchecked).

 

Hope this helps!