Hi,
Unfortunatelly the Expression-Manager in email-templates is render the placholder {TOKEN:ATTRIBUTE_1} in the right way and print-out the value «DU» in the email.
But in the {if}-condition expression, the same placeholder is not to use. The Output is nothing: not the «TRUE» part (first in the function), nor the «FALSE» part (second in the function).
With try&error I found the solution:
The Expression-Manager for text is working fine with the Placeholder {TOKEN:ATTRIBUTE_1} but for email, the part «TOKEN:» does NOT work!
[hr]
So for everybody who is searching a solution - here the right way to use {TOKEN:ATTRIBUTE_1} in email-templates:
Code:
{if(ATTRIBUTE_1 == 'SEARCH_VALUE', 'OUTPUT_IF_MATCH_TRUE', 'OUTPUT_IF_NO_MATCH_FALSE')}
[hr]
IMAGE of working solution in Expression-Manager:
IMAGE of working solution in Expression-Manager:
[hr]
So a documentation about all the {if}-conditions WITH WORKING SOLUTIONS for text AND Email would be lot more important:
www.limesurvey.org/de/foren/design-issue...nd-real-life-example
Does anybody has some link or help to find them?
[hr]
Question to Forum-Admins:
What kind of bug/feature request I have to report in but-tracker? Any idea?
The bug reporting system is really hard to understand compared to other systems I know.