- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Expression Manager
- axelebers
- Topic Author
- Offline
- New Member
Less
More
5 years 7 months ago - 5 years 7 months ago #174127
by axelebers
Expression Manager was created by axelebers
Hey,
I want to implement the following question group:
1 question group
1 matrix question
2 subquestions
The second subquestion should only appear after the user answered the first subquestion. Thereby, it is not relevant how the user responded. The second subquesiton should appear in either case.
How can I implement this using relevance?
Kind regards
Axel Ebers
I want to implement the following question group:
1 question group
1 matrix question
2 subquestions
The second subquestion should only appear after the user answered the first subquestion. Thereby, it is not relevant how the user responded. The second subquesiton should appear in either case.
How can I implement this using relevance?
Kind regards
Axel Ebers
Last edit: 5 years 7 months ago by axelebers.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago #174131
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 Expression Manager
The terms "question group" and "subquestion" are technical concepts in LimeSurvey.
I got the impression that you might use them differently for your question.
I currently don't understand your question. Perhaps others get it.
Do you already use LimeSurvey? What version?
I got the impression that you might use them differently for your question.
I currently don't understand your question. Perhaps others get it.
Do you already use LimeSurvey? What version?
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- axelebers
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
5 years 7 months ago - 5 years 7 months ago #174133
by axelebers
Replied by axelebers on topic Expression Manager
For a better understanding, I attached the question below.
This is a matrix question with two subquestions.
I want the second subquestion to appear only after the user answered the first subquestion. Thereby, it should be irrelevant how the user answered. The second subquestion should appear in either case.
Thanks
This is a matrix question with two subquestions.
I want the second subquestion to appear only after the user answered the first subquestion. Thereby, it should be irrelevant how the user answered. The second subquestion should appear in either case.
Thanks
Attachments:
Last edit: 5 years 7 months ago by axelebers.
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5033
- Thank you received: 1257
5 years 7 months ago - 5 years 7 months ago #174137
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 Expression Manager
You control the display of a subquestion via the subquestion relevance field.
These relevance fields can be used to enter ExpressionManager logic (will be renamed to ExpressionScript).
You would e.g enter something like this in the second subquestion relevance field.
If SQ001 is not empty, than display the second subquestion.
You can learn a bit more from older examples.
www.limesurvey.org/de/foren/design-issue...ubquestion-relevance
These relevance fields can be used to enter ExpressionManager logic (will be renamed to ExpressionScript).
You would e.g enter something like this in the second subquestion relevance field.
Code:
!is_empty(arrayA_SQ001)
You can learn a bit more from older examples.
www.limesurvey.org/de/foren/design-issue...ubquestion-relevance
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Attachments:
Last edit: 5 years 7 months ago by jelo.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- holch
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 11681
- Thank you received: 2748
5 years 7 months ago #174145
by holch
I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.
Replied by holch on topic Expression Manager
Jelo already answered your question.
But seeing the formatting of your scale, may I make a suggestion for better usability?
Put the text before the number and separate it from the number via a line break. Will look a lot cleaner and the numbers will all be on the same line.
But seeing the formatting of your scale, may I make a suggestion for better usability?
Put the text before the number and separate it from the number via a line break. Will look a lot cleaner and the numbers will all be on the same line.
Code:
Trifft gar nicht zu</br>0
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.