- Posts: 1
- Thank you received: 0
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
- Topic Author
- Offline
- New Member
Less
More
4 years 2 months ago #192463
by marksim
EM: Access previous question in a more general form {join('Quest'+qseq)} was created 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
will output
which is indeed the relevent prior question. But how can I use this value to be interpreted by EM like
e.g. my question codes are Quest0, Quest1, Quest2
Code:
{join('Quest' + qseq)}
Code:
Quest0
Code:
{that.Quest0}
The topic has been locked.
- conjoint
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 2 months ago #192465
by conjoint
Replied by conjoint on topic EM: Access previous question in a more general form {join('Quest'+qseq)}
in short: How to access the answer of the previous question (in sequence) without knowing its question name?
The topic has been locked.
- conjoint
- Offline
- New Member
Less
More
- Posts: 7
- Thank you received: 0
4 years 2 months ago - 4 years 2 months ago #192467
by conjoint
Replied by conjoint on topic EM: Access previous question in a more general form {join('Quest'+qseq)}
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
- Away
- LimeSurvey Community Team
Less
More
- Posts: 10630
- Thank you received: 3696
4 years 2 months ago #192473
by tpartner
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic EM: Access previous question in a more general form {join('Quest'+qseq)}
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.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
4 years 2 months ago #192547
by jelo
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic EM: Access previous question in a more general form {join('Quest'+qseq)}
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.