0

I have a text email template and I'd like to display a paragraph of text if Destination__c is either Barcelona OR Buenos Aires.

I tried this, but it doesn't work.

{!IF(OR(Enquiry__c.Destination__c = "Barcelona", Enquiry__c.Destination__c = "Buenos Aires"), "Yes", "No")}

I don't want to create a formula field just to display a paragraph of text.

1

Check if that works for you

{!IF(Enquiry__c.Destination__c = "Barcelona" || Enquiry__c.Destination__c = "Buenos Aires"), "Yes", "No")}

Otherwise, formula will be option which I have mentioned earlier.

| improve this answer | |
  • Doesn't work in an email template, but after I created a custom formula field, it worked! Thanks for the help, though! – Matthew Aug 9 '17 at 22:56
  • I told you at my earlier answer that formula works great – Santanu Boral Aug 9 '17 at 23:20

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.