- Posts: 83
- Thank you received: 6
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
2 years 11 months ago - 2 years 11 months ago #197059
by lintu
How to filter the list of questions based on user selection was created 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!
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: 2 years 11 months ago by lintu.
The topic has been locked.
2 years 11 months ago #197061
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic How to filter the list of questions based on user selection
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
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.
2 years 11 months ago #197063
by lintu
Replied by lintu on topic How to filter the list of questions based on user selection
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?
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.
2 years 11 months ago #197066
by holch
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.
Replied by holch on topic How to filter the list of questions based on user selection
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.
2 years 11 months ago #197067
by holch
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.
Replied by holch on topic How to filter the list of questions based on user selection
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.
2 years 10 months ago #198616
by lintu
Replied by lintu on topic How to filter the list of questions based on user selection
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
Thanks
Attachments:
The topic has been locked.