Hello,
I have another simple syntax question, how can I test if a text field is empty vs populated in m2doc? I have the following if statement, which is true for all intermediate nodes regardless whether there is text in my_text_field or not. I only want to "do some stuff" if there is text in the text field.
{m:if
e.effectiveKind = FTA::EventType::INTERMEDIATE AND e.my_text_field = ''}
do some stuff
{m:endif}
I have tried ->isEmpty(), <> null, and other random syntax guesses with no success so far. Is AND the incorrect syntax maybe?