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.
{%City%}
instead of $$value:City$$
{%City%}
{% if(City != string.Empty) { return City; } %}