• Michal Birecki
  • NEWBIE
  • 0 Points
  • Member since 2014
  • Co-founder & Director
  • Contrast Web


  • Chatter
    Feed
  • 0
    Best Answers
  • 0
    Likes Received
  • 0
    Likes Given
  • 1
    Questions
  • 1
    Replies

Hello,

I'm trying to setup IF statements for my HTML email (not using visualforce).

I put the following code, and it gives me problems:

<p>New test: {!if({!Lead.Campaign_Ran_On__c='True'},{!Lead.Campaign_Ran_On__c},{!Lead.Campaign_Ran_From__c} and {!Lead.Campaign_Ran_To__c})}</p>
Please advise.

Hello,

I'm trying to setup IF statements for my HTML email (not using visualforce).

I put the following code, and it gives me problems:

<p>New test: {!if({!Lead.Campaign_Ran_On__c='True'},{!Lead.Campaign_Ran_On__c},{!Lead.Campaign_Ran_From__c} and {!Lead.Campaign_Ran_To__c})}</p>
Please advise.