- Posts: 3
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array with conditional pop up questions under each line
- researcher123
- Topic Author
- Offline
- New Member
Less
More
1 year 6 months ago #232600
by researcher123
Array with conditional pop up questions under each line was created by researcher123
Please help us help you and fill where relevant:
Your LimeSurvey version: 3.14.8
Own server or LimeSurvey hosting: Own server
Survey theme/template: Matrix array
==================
I want to design a survey with a matrix-array multiple choice question where depending on the answer in each line an additional open question field pops up. I sketched it up in the picture belowin the attachement: If a person answers doesn't apply, an open question field should pop up in order to ask for the reasons for this answer. For the other possible answers, this field should not pop up. Is this possible within one matrix-array with multiple subquestions (i.e. for each Problem, see picture)?
Your LimeSurvey version: 3.14.8
Own server or LimeSurvey hosting: Own server
Survey theme/template: Matrix array
==================
I want to design a survey with a matrix-array multiple choice question where depending on the answer in each line an additional open question field pops up. I sketched it up in the picture belowin the attachement: If a person answers doesn't apply, an open question field should pop up in order to ask for the reasons for this answer. For the other possible answers, this field should not pop up. Is this possible within one matrix-array with multiple subquestions (i.e. for each Problem, see picture)?
Attachments:
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
1 year 6 months ago #232604
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Array with conditional pop up questions under each line
Hi,
Keep it simple.
Use an array
and a following question of type "multiple short text" where you ask for the reasons?
like
Joffm
Keep it simple.
Use an array
and a following question of type "multiple short text" where you ask for the reasons?
like
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- researcher123
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
1 year 6 months ago #232606
by researcher123
Replied by researcher123 on topic Array with conditional pop up questions under each line
Hi Joffm,
thank you for your quick response. What logic do you model behind the array, so that only these open question fields pop up where the user answered "doesn't apply"?
Thanks
thank you for your quick response. What logic do you model behind the array, so that only these open question fields pop up where the user answered "doesn't apply"?
Thanks
Please Log in to join the conversation.
- Joffm
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 12941
- Thank you received: 3979
1 year 6 months ago #232619
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Array with conditional pop up questions under each line
Hi,
simple "relevance equation in subquestions"
A relevance equation is a logic term that is either TRUE or FALSE.
If TRUE the subquestion is displayed, if FALSE not.
Joffm
simple "relevance equation in subquestions"
A relevance equation is a logic term that is either TRUE or FALSE.
If TRUE the subquestion is displayed, if FALSE not.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Please Log in to join the conversation.
- researcher123
- Topic Author
- Offline
- New Member
Less
More
- Posts: 3
- Thank you received: 0
1 year 6 months ago #232643
by researcher123
Replied by researcher123 on topic Array with conditional pop up questions under each line
Hi,
this helps us very much. However, we still struggle with addressing the relevant cell of our array matrix. We want to model that the question below only appears if a specific answer (code A1) is selected.
So we tried to refer to this specific answer as such, but it doesn't work:
Q1_SQ001_A1 == TRUE
with Q1 being the code for the array-matrix, SQ001 the code for the subquestion and A1 the code for the answer option. How else can we refer to a specific cell of the array matrix in the relevance equation.
Thanks in advance.
this helps us very much. However, we still struggle with addressing the relevant cell of our array matrix. We want to model that the question below only appears if a specific answer (code A1) is selected.
So we tried to refer to this specific answer as such, but it doesn't work:
Q1_SQ001_A1 == TRUE
with Q1 being the code for the array-matrix, SQ001 the code for the subquestion and A1 the code for the answer option. How else can we refer to a specific cell of the array matrix in the relevance equation.
Thanks in advance.
Please Log in to join the conversation.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
1 year 6 months ago #232649
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 Array with conditional pop up questions under each line
Code:
Q1_SQ001 == 'A1'
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Please Log in to join the conversation.