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
2 years 11 months 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
2 years 11 months 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}?

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The topic has been locked.
  • pepnoguera
  • pepnoguera's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
2 years 11 months ago - 2 years 11 months 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: 2 years 11 months ago by pepnoguera.
The topic has been locked.
  • holch
  • holch's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
2 years 11 months 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.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: DenisChenu
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose