Expression Manager

More
1 month 12 hours ago - 1 month 12 hours ago #174127 by axelebers
axelebers created the topic: Expression Manager
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
Last Edit: 1 month 12 hours ago by axelebers.

Please Log in or Create an account to join the conversation.

More
1 month 12 hours ago #174131 by jelo
jelo replied the 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?

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey

Please Log in or Create an account to join the conversation.

More
1 month 12 hours ago - 1 month 12 hours ago #174133 by axelebers
axelebers replied the 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
Attachments:
Last Edit: 1 month 12 hours ago by axelebers.

Please Log in or Create an account to join the conversation.

More
1 month 11 hours ago - 1 month 11 hours ago #174137 by jelo
jelo replied the 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.
!is_empty(arrayA_SQ001)
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

Are you a student conducting a survey? If yes, tell me why you use LimeSurvey?
www.limesurvey.org/forum/development/116...y-you-use-limesurvey
Attachments:
Last Edit: 1 month 11 hours ago by jelo.
The following user(s) said Thank You: DenisChenu

Please Log in or Create an account to join the conversation.

More
1 month 11 hours ago #174145 by holch
holch replied the 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.
Trifft gar nicht zu</br>0

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in or Create an account to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!