- Posts: 10
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Howcan I make conditions for question group
- Prishel
- Topic Author
- Offline
- New Member
Less
More
7 years 3 months ago #145954
by Prishel
Howcan I make conditions for question group was created by Prishel
Hello!
Please help.
I need make condition for the question group that the participants must answer only one question (and each participant can enswer differetn question depends on their opinion) any of all questions from this group. And after this participant can not answer the question at this group and go to the next question group.
So,
I go to question group
Answer one of the question (depends on me which one)
Then I lose the opportunity answer another question at this question group and go to the next question group.
Can someone help, please?
Thanks.
Please help.
I need make condition for the question group that the participants must answer only one question (and each participant can enswer differetn question depends on their opinion) any of all questions from this group. And after this participant can not answer the question at this group and go to the next question group.
So,
I go to question group
Answer one of the question (depends on me which one)
Then I lose the opportunity answer another question at this question group and go to the next question group.
Can someone help, please?
Thanks.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 3 months ago - 7 years 3 months ago #145967
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Howcan I make conditions for question group
If you question are like this (for example) 3 single choice question Q1,Q2 and Q3
Q1 relevance : {count(Q2.NAOK,Q3.NAOK)==0}
Q2 relevance : {count(Q1.NAOK,Q3.NAOK)==0}
Q3 relevance : {count(Q1.NAOK,Q2.NAOK)==0}
Q1 relevance : {count(Q2.NAOK,Q3.NAOK)==0}
Q2 relevance : {count(Q1.NAOK,Q3.NAOK)==0}
Q3 relevance : {count(Q1.NAOK,Q2.NAOK)==0}
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Last edit: 7 years 3 months ago by DenisChenu. Reason: .NAOK ....
The topic has been locked.
- Ben_V
- Offline
- Platinum Member
Less
More
- Posts: 1223
- Thank you received: 351
7 years 3 months ago #145968
by Ben_V
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
Replied by Ben_V on topic Howcan I make conditions for question group
Hi,
Just use an equation to set a condition in the group relevance field
Please browse the manual & forums around "group relevance" terms because there are a lot of discussions about this topic
Just use an equation to set a condition in the group relevance field
Please browse the manual & forums around "group relevance" terms because there are a lot of discussions about this topic
Benoît
EM Variables => bit.ly/1TKQyNu | EM Roadmap => bit.ly/1UTrOB4
Last Releases => 2.6x.x goo.gl/ztWfIV | 2.06/2.6.x => bit.ly/1Qv44A1
Demo Surveys => goo.gl/HuR6Xe (already included in /docs/demosurveys)
The following user(s) said Thank You: EasbiIkhsan
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10634
- Thank you received: 3698
7 years 3 months ago #145971
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 Howcan I make conditions for question group
I recommend using something other than single-choice. Once one is selected it cannot be deselected so the respondent has no opportunity to choose another question.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13935
- Thank you received: 2551
7 years 3 months ago #145994
by DenisChenu
And if you set "single choice" question type not mandatory : user can choose 'No answer' and see other question ?
====
Another solution:
- short text question type with validation : count(Q1.NAOK,Q2.NAOK,Q3.NAOK)==1
- Text display questiuon type with relevance count(Q1.NAOK,Q2.NAOK,Q3.NAOK)>=1 and text "You must choose only one answer"
Then user can select any answer he want, BUT can not go to next group with more than one answer selected
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Howcan I make conditions for question group
Seems to be desired behaviour ?tpartner wrote: I recommend using something other than single-choice. Once one is selected it cannot be deselected so the respondent has no opportunity to choose another question.
And if you set "single choice" question type not mandatory : user can choose 'No answer' and see other question ?
Answer one of the question (depends on me which one)
Then I lose the opportunity answer another question at this question group and go to the next question group.
====
Another solution:
- short text question type with validation : count(Q1.NAOK,Q2.NAOK,Q3.NAOK)==1
- Text display questiuon type with relevance count(Q1.NAOK,Q2.NAOK,Q3.NAOK)>=1 and text "You must choose only one answer"
Then user can select any answer he want, BUT can not go to next group with more than one answer selected
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.