Conditional Statements - only for show/hide sections?
AnsweredI'm working on an email template and have some text I wan't to show/ hide in regards to an two options field in CRM.
Iv'e been trying out conditional statements, but i keep getting freemarker errors when writing them. I suspect that it is because I only want to show/ hide a line of text in one section, not showing different sections based on the option set.
Is it possible to use conditional statements to show/ hide a line of text?
-
Official comment
Hi Sine,
Thank you for reaching out. I see you submitted a ticket regarding the FreeMarker error you were seeing, and received additional support from a member of our ClickDimensions team. I would recommend anyone experiencing errors to submit a support ticket here.
To answer your questions regarding the use of FreeMarker to show/hide text, FreeMarker is used to dynamically populate content. So, a conditional statement will print the text/information contained in the matching condition, so you hide content by selectively showing content.
Please sign in to leave a comment.
Comments
1 comment