I would like to show a picklist value based on a condition in email template, tried the below but it is not displaying result as expected.

{!If(ABC__c.Country__c="USA", ABC__C.Language__c , "")}

The below two scenarios displays the result as expected


Displays : USA


Displays : English

Country__c is a formula field and Language__c is Picklist field. I would like to display the language in the email template only if Country__C is USA.

  • Language__c is a picklist field . Country__c is formula field – KSR Sep 14 '17 at 13:32

{!If(ABC__c.Country__c**=**="USA", ABC__C.Language__c , "")} Are you missing an equal sign?

  • Hi daniel, the if condition is working fine, but the value ABC_C.Language__C is not showing up. – KSR Sep 14 '17 at 13:40

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.