Welcome to the LimeSurvey Community Forum

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

How to filter the list of questions based on user selection

  • lintu
  • lintu's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 3 days ago - 4 years 3 days ago #197059 by lintu
Hello Folks,

I have the following how to question that I was not able to find the answer to by browsing through the manual and this forum.

I need to build a new survey. At the beginning of the survey, if the user selects -

Option A - Display 10 questions for them to answer
Option B - Display Option A questions + Additional 10 questions
Option C - Display Option A & B questions + Additional 10 questions
Option D - Display Option A, B & C questions + Additional 10 questions

Could you please provide some guidance on how to achieve this? Is there a sample survey similar to this that I can use?

Thanks in advance!
Last edit: 4 years 3 days ago by lintu.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 days ago #197061 by Joffm
Hi,
are these questions randomly selected out of the 40 or are they fixed?

If fixed:
Create 4 groups, each with the ten questions.
Relevance of 1st group: Q1=="A" OR Q1=="B" OR Q1=="C" OR Q1=="D"
Relevance of 2nd group: Q1=="B" OR Q1=="C" OR Q1=="D"
Relevance of 3rd group: Q1=="C" OR Q1=="D"
Relevance of 4th group: Q1=="D"

If randomly:
The same as before, but give each of the questions the same ramdomization group name.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: lintu
The topic has been locked.
  • lintu
  • lintu's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
4 years 3 days ago #197063 by lintu
Hi Joffm,

Thank you for your quick response. All the questions will be fixed for each option selected by the user.

So, the way that I understood your suggestion was to add the equation within the group relevance field. I will give this a try.

One issue I see is that LimeSurvey does not offer a way to display multiple groups in a page. I have related questions in different groups and may need to display those in the same page. Any thoughts on this one?
The topic has been locked.
  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 days ago #197066 by holch

One issue I see is that LimeSurvey does not offer a way to display multiple groups in a page. I have related questions in different groups and may need to display those in the same page. Any thoughts on this one?


I have a feature request running since 2014. You can support it by commenting about your needs here:

bugs.limesurvey.org/view.php?id=9416

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

The following user(s) said Thank You: lintu
The topic has been locked.
  • holch
  • holch's Avatar
  • Online
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 days ago #197067 by holch

One issue I see is that LimeSurvey does not offer a way to display multiple groups in a page. I have related questions in different groups and may need to display those in the same page. Any thoughts on this one?


In your case the "page" concept that I have the feature request for, would help you to make things quicker.

But I think you can still do this by restructuring your survey and drop the currently "logical" groups and move to more of a "page" concept for the groups.

You can use relevance equations on question level to show/hide questions. A little bit more work, because you need to get into each question and set the relevance, but totally doable, I think.

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.
  • lintu
  • lintu's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198616 by lintu
I am still struggling with this and need a little bit of help. I have a attached a screenshot to show what I have done so far, please review and advise.

Thanks
Attachments:
The topic has been locked.
  • lintu
  • lintu's Avatar Topic Author
  • Offline
  • Premium Member
  • Premium Member
More
3 years 11 months ago #198618 by lintu
I was able to solve my problem with the 'set condition' feature on the question. Works great!!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose