Hello,
I am trying to use dynamic content in the subject line based on the values in "gender" field. Gender field can have 3 values:
Male
Female
Default
I was trying to use this but it's not working:
Hello <%if(context.profile.gender=='Male'){%>
Gentlemen<%} else if(context.profile.gender=='Female'){%>
Ladies<%}else{%>Everyone<%}%>, Season Sale ends today!
Any tips/ideas how to edit this?
Thanks!
AK