- Posts: 2
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Create Conditions with Array
- matanrotman
- Topic Author
- Offline
- New Member
Less
More
6 years 3 months ago #161555
by matanrotman
Create Conditions with Array was created by matanrotman
Hello everyone,
I've created a survey and my first question is an array.
I want to display the questions following it by the user's answers to the array.
How can this be done?
(I've tried searching the forums but couldn't find similar questions)
I'd appreciate any kind of help.
Thanks in advance!
M.
I've created a survey and my first question is an array.
I want to display the questions following it by the user's answers to the array.
How can this be done?
(I've tried searching the forums but couldn't find similar questions)
I'd appreciate any kind of help.
Thanks in advance!
M.
The topic has been locked.
- matanrotman
- Topic Author
- Offline
- New Member
Less
More
- Posts: 2
- Thank you received: 0
6 years 3 months ago #161557
by matanrotman
Replied by matanrotman on topic Create Conditions with Array
Ok everyone, I found out how to do so, but I have another question now:
My array contains 6 columns and 11 rows. Answering this array affects what other question groups will appear (or stay hidden). My question is as follows: I need to display one of the question groups (let's call it Qg4) only if the user did not answer rows 1-6 with the answers in columns 1-3 (but not if they did answer rows 1-6 with answers from columns 4-6). Does that make sense?
The reason for that is because I don't want to create a rule that forces the user to select answers 4-6 from rows 1-6 AND answers 1-3 from rows 7-11.
Any thoughts?
Thanks!
M.
My array contains 6 columns and 11 rows. Answering this array affects what other question groups will appear (or stay hidden). My question is as follows: I need to display one of the question groups (let's call it Qg4) only if the user did not answer rows 1-6 with the answers in columns 1-3 (but not if they did answer rows 1-6 with answers from columns 4-6). Does that make sense?
The reason for that is because I don't want to create a rule that forces the user to select answers 4-6 from rows 1-6 AND answers 1-3 from rows 7-11.
Any thoughts?
Thanks!
M.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12780
- Thank you received: 3940
6 years 3 months ago - 6 years 3 months ago #161558
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Create Conditions with Array
Hello, matanrotman,
if the codes of the answer options are numerical (not "A1", "A2", "someCode", etc)
you can use the relevance equation of your group like:
Q1_SQ001>3 AND Q1_SQ002>3 AND Q1_SQ003>3 AND Q1_SQ004>3 AND Q1_SQ005>3 AND Q1_SQ006>3
That is: ALL subquestions 1-6 have to be in 4-6.
If not mandatory add the NAOK parameter.
Best regards
Joffm
if the codes of the answer options are numerical (not "A1", "A2", "someCode", etc)
you can use the relevance equation of your group like:
Q1_SQ001>3 AND Q1_SQ002>3 AND Q1_SQ003>3 AND Q1_SQ004>3 AND Q1_SQ005>3 AND Q1_SQ006>3
That is: ALL subquestions 1-6 have to be in 4-6.
If not mandatory add the NAOK parameter.
Best regards
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 6 years 3 months ago by Joffm.
The topic has been locked.