I got this working in the most absurd Cvent of ways. If you edit the Logic Tag directly in the editor (using the code from my prior post) to check for a blank using "", it will NOT work...
IF you paste that same code into NotePad, and paste it back into the editor, it will work. The working code I am using is:
{%IF: EVALUATE({[C-ANSWER:Allergies]}) EQUAL_TO "" %} I do not have any allergies{%ELSE%} {[C-ANSWER:Allergies]}{%ENDIF%}
This ONLY worked if I pasted it from NotePad. Even once working, if I copy/paste that same code elsewhere in the email (without changing anything) it breaks again.
------------------------------
Timothy Gough
VP, Marketing Events
iCapital NetworkUnited States
------------------------------
Original Message:
Sent: 05-20-2022 11:51
From: Dirk Houben
Subject: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO
HI all,
my first time reaching out to the crowd and hope to find an answer here. Many thanks in advance.
In my confirmation email I already use LogicTags to distinguish what text to send to groups by admission item. This is easily done using an EQUAL_TO logic.
{%IF: EVALUATE({[C-MY ADMISSION ITEM]}) EQUAL_TO "In person" %}Text{%ELSE%}Other Text{%ENDIF%}
However, I would also like to distinguish if a certain field in the contact record (which is available as a tag) is populated or not, i.e.
IF FIELD IS EMPTY/BLANK THEN TEXT ELSE OTHER TEXT
Any clue how the statement needs to look like? Already tried EQUAL_TO "" or some statements with BLANK or EMPTY but to no avail.
Thanks a lot!
#Creating/ManagingEvents
------------------------------
Dirk Houben
Senior Communications Specialist
McKinsey & Company, Inc.United States
------------------------------