Welcome to the LimeSurvey Community Forum

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

EM: Access previous question in a more general form {join('Quest'+qseq)}

  • marksim
  • marksim's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 months ago #192463 by marksim
How can we access the answer from previous question in a more general form? We need it as input for a javascript.

e.g. my question codes are Quest0, Quest1, Quest2
Code:
{join('Quest' + qseq)}
will output
Code:
Quest0
which is indeed the relevent prior question. But how can I use this value to be interpreted by EM like
Code:
{that.Quest0}
The topic has been locked.
More
4 years 2 months ago #192465 by conjoint
in short: How to access the answer of the previous question (in sequence) without knowing its question name?
The topic has been locked.
More
4 years 2 months ago - 4 years 2 months ago #192467 by conjoint
see this crosspost as well: #192466
Last edit: 4 years 2 months ago by conjoint. Reason: blog doesn't recognize own cross links
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 months ago #192473 by tpartner
As far as I know, this can not be done with Expression Manager.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
More
4 years 2 months ago #192547 by jelo
Open a feature request. If you use EM long enough, you get funny in a bad way.

The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose