I would like to display a salutation in Email, depending on values of the salutationName field in leads.
I have three values in salutationName: null, 'Herr' and 'Frau'. Depending on the value I want to display the salutation term, which is generated in another field named "briefanrede", as:
null = 'Guten Tag', Herr = 'Sehr geehrter Herr' und Frau = 'Sehr geehrte Frau'.
My ifEqual condition is this
It works on null, displaying "Guten Tag", but in the other cases, the null value is still present, displaying "Guten TagSehr geehrter Herr"
I have three values in salutationName: null, 'Herr' and 'Frau'. Depending on the value I want to display the salutation term, which is generated in another field named "briefanrede", as:
null = 'Guten Tag', Herr = 'Sehr geehrter Herr' und Frau = 'Sehr geehrte Frau'.
My ifEqual condition is this
Code:
{{#ifEqual salutationName ''}}Guten Tag,{{else}}{Lead.cBriefanrede} {Lead.lastName}{{/ifEqual}}
Comment