Reputation: 358
I am using a macro for if
condition to check if a field is null or not, in a form email notification. I tried this one:
{% if(City != string.Empty) { $$value:City$$ } #%}
It did not work, and I am not getting the city value in the email body.
Upvotes: 1
Views: 663
Reputation: 838
{%City%}
instead of $$value:City$$
{%City%}
{% if(City != string.Empty) { return City; } %}
Upvotes: 4