Unable to use conditional variables in email | Community
Skip to main content
Sebastiane_Edberg_
Community Advisor
Community Advisor
October 26, 2021
Solved

Unable to use conditional variables in email

  • October 26, 2021
  • 1 reply
  • 1039 views

hi there, some issues when trying to use expression conditions  in ajo email designer

so for example, using this:

 

{%#if profile.email = "mail@mail.com" %}
do nifty stuff
{%/if%}

 

validates ok, but when closing the code editor the double quotes will be replaced by "&quote" like this


{%#if profile.email = "mail@mail.com" %}
do nifty stuff
{%/if%}

 

 

and the validation will of course fail with a parsing syntax error, is this a known issue?

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by Sebastiane_Edberg_

seems there has been a fix deployed in email designer now to rectify this behavior

1 reply

Sebastiane_Edberg_
Community Advisor
Sebastiane_Edberg_Community AdvisorAuthorAccepted solution
Community Advisor
October 27, 2021

seems there has been a fix deployed in email designer now to rectify this behavior