Hello,
I have an email template that gets values as 1 and 0, which are taken from Customer's profile. However, when I try to write a condition like it was mentioned in the documentation, to be like that {{#if Contact.TaxFlag}}Yes{{else}}No{{/if}}
However, it gives No anyway, even if the answer was Yes.
Also, I tried to use ifEqual like that:
{{#ifEqual Contact.TaxFlag 1 }} Yes{{else}}No{{/ifEqual}}
and it gave the same result..
Is it possible to code something in Javascript?.. or what could solve this?
Please, can you help me find a solution for this issue?? As I researched everywhere, and there was no answer for that...Please any way to solve this, will be very appreciated.
Thanks in advance!
I have an email template that gets values as 1 and 0, which are taken from Customer's profile. However, when I try to write a condition like it was mentioned in the documentation, to be like that {{#if Contact.TaxFlag}}Yes{{else}}No{{/if}}
However, it gives No anyway, even if the answer was Yes.
Also, I tried to use ifEqual like that:
{{#ifEqual Contact.TaxFlag 1 }} Yes{{else}}No{{/ifEqual}}
and it gave the same result..
Is it possible to code something in Javascript?.. or what could solve this?
Please, can you help me find a solution for this issue?? As I researched everywhere, and there was no answer for that...Please any way to solve this, will be very appreciated.
Thanks in advance!
Comment