Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

predefined answerlist four two questions

  • univations
  • univations's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
9 years 1 day ago #119530 by univations
predefined answerlist four two questions was created by univations
Hello my Dears,

I am new in limesurvey and need your knowledge.

I would like to design a predefined answerlist four two questions. If you click on Q1-A3 "three times a week" than in Q2 the answerlist should be limited to A1,A2,A3,A6.

And the same if you click on Q1-A4 "four times a week" than in Q2 the answerlist should be limited to A1,A2,A3,A4,A6.

There is the first question:
Q1 How often are you going to diner.
A1 once a week
A2 two times a week
A3 three times a week [X]
A4 four times a week
A5 everyday
A6 never

There second the first question:
Q2 How often are you eating fastfood.
A1 once a week
A2 two times a week
A3 three times a week
[From here should not be shown anymore]
A4 four times a week
A5 everyday
A6 never

Thanks a lot for your help!!! :kiss:
The topic has been locked.
  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 1 day ago #119536 by holch
Replied by holch on topic predefined answerlist four two questions
There might be a solution with Javascript, but if you are not good in coding, the easieast solution will probably be create various questions for the second type and hide/show them, depending on the answers in the first question.

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.
More
9 years 1 day ago #119537 by Ben_V
Replied by Ben_V on topic predefined answerlist four two questions
A simple way is to use multiple-choice questions (MCQ) + the "array filter exclusion" feature

Give it a try:
1) Set your Q1 using a MCQ

2) Set your Q2 using a MCQ, with the same answer codes used for Q1 (A1, A2, etc.)
Expand advanced settigs and set:
Minimum answers: 1
Maximum answers: 1
Array filter exclusion: Q1

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 topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
9 years 9 hours ago #119565 by tpartner
Replied by tpartner on topic predefined answerlist four two questions
Are both questions on the same page?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose