- Posts: 10116
- Thank you received: 3597
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array filter with multiple choice
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
6 years 10 months ago #155959
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 Array filter with multiple choice
Can you attach a small sample survey containing only those questions?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- IngeborgNor
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 1
6 years 10 months ago #155960
by IngeborgNor
Replied by IngeborgNor on topic Array filter with multiple choice
I tried to export and import the questions into a new survey, but then it works as it should. Can I give you access to the real survey?
The topic has been locked.
- IngeborgNor
- Topic Author
- Offline
- Junior Member
Less
More
- Posts: 20
- Thank you received: 1
6 years 10 months ago #155965
by IngeborgNor
Replied by IngeborgNor on topic Array filter with multiple choice
It seems to work now, it might have been just a bug with the cache.
The topic has been locked.
- GriesbachConsulting
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 6 months ago #190252
by GriesbachConsulting
Replied by GriesbachConsulting on topic Array filter with multiple choice
Hi Tony
Thanks for the help here. It works perfect. The only thing that doesn't work is if there is an open answer to be checked in the first multiple choice (e.g. what other function do you use?). The "other function" doesn't appear on the dual matrix. Just the predefined options checked.
Thanks,
David
Thanks for the help here. It works perfect. The only thing that doesn't work is if there is an open answer to be checked in the first multiple choice (e.g. what other function do you use?). The "other function" doesn't appear on the dual matrix. Just the predefined options checked.
Thanks,
David
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
4 years 6 months ago #190253
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 Array filter with multiple choice
What LimeSurvey version are you using? Can you attach a small sample survey (.lss file) containing only the relevant questions?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- GriesbachConsulting
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 6 months ago #190255
by GriesbachConsulting
Replied by GriesbachConsulting on topic Array filter with multiple choice
I use the hosted free version 3.19.2. The mini-survey is attached. Thanks a lot in advance!
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
4 years 6 months ago - 4 years 6 months ago #190256
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 Array filter with multiple choice
1) Remove the array-filtering from the array.
2) Add an "other" subquestion to the array.
3) Use sub-question relevance to hide/show the array rows.
Here is your sample survey back with those changes:
2) Add an "other" subquestion to the array.
3) Use sub-question relevance to hide/show the array rows.
Here is your sample survey back with those changes:
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Last edit: 4 years 6 months ago by tpartner.
The following user(s) said Thank You: DenisChenu
The topic has been locked.
- GriesbachConsulting
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 6 months ago #190258
by GriesbachConsulting
Replied by GriesbachConsulting on topic Array filter with multiple choice
Works perfect. Thank you!
The topic has been locked.
- GriesbachConsulting
- Offline
- New Member
Less
More
- Posts: 8
- Thank you received: 0
4 years 6 months ago #190286
by GriesbachConsulting
Replied by GriesbachConsulting on topic Array filter with multiple choice
Sorry to bother you again. There is a second question set, where I would like to use the same logic but for a Ranking. I know, the ranking question already assumes that one choses and ranks just the options that are really of interest. But our tests showed that the users did the ranking for all options (not just for the important ones). That's why we would like to first ask for importance and then let them create a ranking for the this sub-selection.
I've tried the same mechanism as you posted above but there are two problems: 1. When clicking one option in the first selection it will immediately show all options for the ranking (not just the selection). 2. In the original survey I cannot change the relevance equation anymore because of another condition and the ranking question those not show the relevance equation for each subquestion.
The example is in the attachment.
I've tried the same mechanism as you posted above but there are two problems: 1. When clicking one option in the first selection it will immediately show all options for the ranking (not just the selection). 2. In the original survey I cannot change the relevance equation anymore because of another condition and the ranking question those not show the relevance equation for each subquestion.
The example is in the attachment.
Attachments:
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10116
- Thank you received: 3597
4 years 6 months ago #190291
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 Array filter with multiple choice
This is getting off topic. Can you please open a new thread for this question? Maybe "Filtering a ranking 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.