Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

ExpressionScript in Email Templates

  • pepnoguera
  • pepnoguera's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago #215795 by pepnoguera
ExpressionScript in Email Templates was created by pepnoguera
Hello everybody,

I'm trying to use ExpressionScript with the Email Templates and it doesn't appear once the email is received. All placeholders work fine, but for some reason when I write {QUESTION.shown} always returns blank.
I've checked the Expression validation:

 

I don't undersand what I'm doing wrong.

LS Version: 3.25.7

Thanks.
 
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #215797 by holch
Replied by holch on topic ExpressionScript in Email Templates
Hard to say without knowing your survey.

Can you show how the question "bondia" looks like? What question type is it? Maybe there is no "shown" for this question type?

What happens when you just use {bondia}?

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The topic has been locked.
  • pepnoguera
  • pepnoguera's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 1 month ago - 4 years 1 month ago #215810 by pepnoguera
Replied by pepnoguera on topic ExpressionScript in Email Templates
I'm embarassed. You are absolutely right.

I was using .shown when I should've used .question. There was no shown to show.

I'll double check the manual next time before posting.

Thank you.
Last edit: 4 years 1 month ago by pepnoguera.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 1 month ago #215811 by holch
Replied by holch on topic ExpressionScript in Email Templates
Those things happen. It is often the simple things we don't see ourselves.

Help us to help you!
  • Provide your LS version and where it is installed (own server, uni/employer, SaaS hosting, etc.).
  • Always provide a LSS file (not LSQ or LSG).
Note: I answer at this forum in my spare time, I'm not a LimeSurvey GmbH employee.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose