[hr]Hi Forum,
I'm searching for a short explanation about if-statement in text an email-tempaltes.
Does anybody now a good ressource with short theoretical-explanation with real-life examples?
Something like:
NOT EMPTY PLACEHOLDER:
{if(FIRSTNAME != '','FIRSTNAME', 'firstname is empty')}
NOT EMPTY TOKEN:
{if(TOKEN:ATTRIBUTE_1 != '','TOKEN:ATTRIBUTE_1', 'TOKEN:ATTRIBUTE_1 is empty')}
[hr]
EXIST PLACEHOLDER:
{if(LASTNAME != FALSE ,'LASTNAME','lastname does NOT EXIST')}
NOT EMPTY TOKEN:
{if(TOKEN:ATTRIBUTE_2 != FALSE ,'TOKEN:ATTRIBUTE_2', 'TOKEN:ATTRIBUTE_2 does NOT EXIST')}
[hr]
MATCH VALUE PLACEHOLDER:
{if(FIRSTNAME == 'Martin','FIRSTNAME', 'firstname is empty')}
MATCH VALUE TOKEN:
{if(TOKEN:ATTRIBUTE_1 == 'DU', 'TOKEN:ATTRIBUTE_1', 'TOKEN:ATTRIBUTE_1 is not DU')}
[hr]
I found only something like this
www.limesurvey.org/manual/images/1/14/Em...ighlighting-1-v2.jpg
Or documentation about e-mail template but not with {if} statement. (
www.limesurvey.org/manual/Email_templates#Email_placeholders
)
Or some help in forum for particular questions but not any overview about ALL SOLUTIONS/POSSIBILITIES.
Would be great to get help/links.
Cheers
Martin