View Issue Details

This bug affects 1 person(s).
 4
IDProjectCategoryView StatusLast Update
14286Bug reportsDocumentationpublic2018-11-27 10:05
Reportermad99 Assigned ToDenisChenu  
PrioritynoneSeverityfeature 
Status closedResolutionduplicate 
Summary14286: The detailed use of {if}-statements: abstract form, difference between text and email and detailed examples for all kind of use
Description

Holch mean it could be a «feature request»:
«I don't think it is good in terms of compatibility and consistency to use ATTRIBUTE_1 in emails but TOKEN:ATTRIBUTE_1 in the rest of the survey.»
See: https://www.limesurvey.org/forum/design-issues/117048-email-template-if-statement-with-placeholder-token-does-not-work#177430

This feature Request ist a combine from the forum-topic https://www.limesurvey.org/forum/design-issues/117049-if-statement-in-text-email-with-explanation-and-real-life-example

From holch's answer and all my search, I'm quite sure the documentation about the use of {if}-statements in text AND in EMAIL-Temlate is missing.

Would be great to have such a documentation!

Friendly regards
Martin

TagsNo tags attached.
Bug heat4
Complete LimeSurvey version number (& build)
I will donate to the project if issue is resolved
Browser
Database type & version
Server OS (if known)
Webserver software & version (if known)
PHP Version

Relationships

duplicate of 14288 closedDenisChenu TOKEN:ATTRIBUTE_INT: No output in email-template AND no Error in validate expression 

Users monitoring this issue

There are no users monitoring this issue.

Activities

mad99

mad99

2018-11-26 17:48

reporter   ~49790

abstract use means:
{IF(ATTRIBUTE_1 == 'SEARCH_VALUE', 'OUTPUT_IF_MATCH_TRUE', 'OUTPUT_IF_NO_MATCH_FALSE')}
Example for both see in Forum-Topic.
Real-world example for both would be the best too.

DenisChenu

DenisChenu

2018-11-27 09:44

developer   ~49794

Can you send a simple lsa with only one token (no need real survey and real data).

Issue History

Date Modified Username Field Change
2018-11-26 17:42 mad99 New Issue
2018-11-26 17:42 mad99 Status new => assigned
2018-11-26 17:42 mad99 Assigned To => Mazi
2018-11-26 17:48 mad99 Note Added: 49790
2018-11-27 09:44 DenisChenu Note Added: 49794
2018-11-27 09:44 DenisChenu Assigned To Mazi => DenisChenu
2018-11-27 10:02 DenisChenu Project Feature requests => Bug reports
2018-11-27 10:05 DenisChenu Relationship added duplicate of 14288
2018-11-27 10:05 DenisChenu Status assigned => closed
2018-11-27 10:05 DenisChenu Resolution open => duplicate