Open Forum

 View Only
  • 1.  Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-20-2022 11:52

    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!


    #Flex-Creating/ManagingEvents

    ------------------------------
    Dirk Houben
    Senior Communications Specialist
    McKinsey & Company, Inc.United States
    ------------------------------



  • 2.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-20-2022 11:58

    I'm not a programmer – but did you try "null" instead of blank or empty?

     

    Jennie Hynson

    Administrative Assistant

    Covington Travel

    jennieh@covtrav.com · www.covingtontravel.com

    P: 804-747-4138 · F: 804-747-0572

    4800 Cox Road, Suite 200, Glen Allen, VA 23060

     

     






  • 3.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-21-2022 05:54
    Thanks a lot, Jennie. Good approach and suggestion. Tried it with ISNULL And NULL but, unfortunately, it didn't do the trick.

    ------------------------------
    Dirk Houben
    Senior Communications Specialist
    McKinsey & Company, Inc.United States
    ------------------------------



  • 4.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-22-2022 16:28
    Edited by Steven Schlossman 05-23-2022 14:50
    I suppose that contact filed field can be anything?

    ------------------------------
    Steven Schlossman
    Jack of all trades. Master of none.
    BMW Car Club of America
    ------------------------------



  • 5.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-23-2022 12:50
    In principle, yes. Any field that can be used as a tag. In this case I'm especially looking at the "Salutation" field (which might be customized)

    ------------------------------
    Dirk Houben
    Senior Communications Specialist
    McKinsey & Company, Inc.United States
    ------------------------------



  • 6.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-23-2022 16:42
    The only thing I can think of is multiple emails using the filter.

    ------------------------------
    Steven Schlossman
    Jack of all trades. Master of none.
    BMW Car Club of America
    ------------------------------



  • 7.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-19-2023 10:39

    Curious if anyone has gotten this to work in Flex yet.  In Classic, you used to be able to do:

    {%IF: EVALUATE({[C-MY ADMISSION ITEM]}) EQUAL_TO "" %}Text{%ELSE%}Other Text{%ENDIF%}

    I have been trying to like an hour with various formatting to make it work like it did in Classic, but I cannot get Flex to recognize EQUAL_TO ""



    ------------------------------
    Timothy Gough
    VP, Marketing Events
    iCapital NetworkUnited States
    ------------------------------



  • 8.  RE: Logic tags - Commands beyond EQUAL_TO and NOT_EQUAL_TO

    Posted 05-19-2023 11:29

    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
    ------------------------------