Hello,I am using LimeSurvey 7 and I am customizing the admin notification email template (the email sent to administrators after a respondent submits the survey).I have a Multiple Choice question with the following settings:
- Question code: ReqAmm
- Subquestion codes: SQ001, SQ002, SQ003, etc.
My goal is to display in the email only the options selected by the respondent.I tried using ExpressionScript such as:<ul>{if(ReqAmm_SQ001 == 'Y', join('<li>', ReqAmm_SQ001.question, '</li>'), '')}{if(ReqAmm_SQ002 == 'Y', join('<li>', ReqAmm_SQ002.question, '</li>'), '')}{if(ReqAmm_SQ003 == 'Y', join('<li>', ReqAmm_SQ003.question, '</li>'), '')}</ul>I also tried placeholders such as: {ReqAmm} {ReqAmm.shown} {ReqAmm_SQ001}However, none of these are evaluated, the email contains the expressions exactly as written (literal text), for example:{ReqAmm.shown} {ReqAmm_SQ001}instead of the expected values.My questions are:1. What is the correct way to access the selected answers of a Multiple Choice question in that email?2. Is there a specific placeholder or syntax that should be used for question code ReqAmm and subquestions SQ001, SQ002, etc.? Any example would be greatly appreciated.Thank you!=====================================
Please help us help you and fill where relevant:
Your LimeSurvey version: 7
Own server or LimeSurvey hosting: my server