- Posts: 61
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Filtering multiple question answers into a single array
- vzyldd
- Topic Author
- Offline
- Senior Member
Less
More
6 years 10 months ago - 6 years 10 months ago #153302
by vzyldd
Filtering multiple question answers into a single array was created by vzyldd
Hi
I have the following problem. Three questions, all multiple choice (Q9, Q10, Q11), same subquestions and codes and an array (Q12). I need to filter the first choice the respondent make in Q9 to the place in the array(Q12) marked in red, the first answer in Q10 to the place in the array(Q12) marked with green. The same applies to the answer in Q11.
The general array filter is of no help here. To construct the array(Q12) is no problem but the filtering of the answers from Q9, Q10 & Q11 is. Any suggestions?
This is the brief I have:
AUTOCOMPLETE BRANDS FROM Q9, Q10 AND Q11 ABOVE. PRIORITISE Q11 FIRST, Q10 SECOND, Q9 THIRD TO SELECT ADDITIONAL BRANDS (MAX TWO OTHER BRANDS). ALWAYS SHOW XXXX BRAND. SINGLE MENTION PER BRAND
Attached is an image of how my array should work.
I have the following problem. Three questions, all multiple choice (Q9, Q10, Q11), same subquestions and codes and an array (Q12). I need to filter the first choice the respondent make in Q9 to the place in the array(Q12) marked in red, the first answer in Q10 to the place in the array(Q12) marked with green. The same applies to the answer in Q11.
The general array filter is of no help here. To construct the array(Q12) is no problem but the filtering of the answers from Q9, Q10 & Q11 is. Any suggestions?
This is the brief I have:
AUTOCOMPLETE BRANDS FROM Q9, Q10 AND Q11 ABOVE. PRIORITISE Q11 FIRST, Q10 SECOND, Q9 THIRD TO SELECT ADDITIONAL BRANDS (MAX TWO OTHER BRANDS). ALWAYS SHOW XXXX BRAND. SINGLE MENTION PER BRAND
Attached is an image of how my array should work.
Attachments:
Last edit: 6 years 10 months ago by vzyldd.
The topic has been locked.
- vzyldd
- Topic Author
- Offline
- Senior Member
Less
More
- Posts: 61
- Thank you received: 0
6 years 10 months ago #153453
by vzyldd
Replied by vzyldd on topic Filtering multiple question answers into a single array
Any suggestions as I am still in the dark with this problem?
The topic has been locked.
- jelo
- Offline
- Platinum Member
Less
More
- Posts: 5070
- Thank you received: 1263
6 years 10 months ago #153457
by jelo
So you might just attach your survey with the questions and state what version of LimeSurvey you're using.
That might help to get some answers here.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
Replied by jelo on topic Filtering multiple question answers into a single array
Perhaps you need to explain your issue in another way?vzyldd wrote: Any suggestions as I am still in the dark with this problem?
E.g. what is the first choice in Q9? You state that Q9 is a multiple-choice question. So what is the first choice?I need to filter the first choice the respondent make in Q9 to the place in the array(Q12) marked in red
So you might just attach your survey with the questions and state what version of LimeSurvey you're using.
That might help to get some answers here.
The meaning of the word "stable" for users
www.limesurvey.org/forum/development/117...ord-stable-for-users
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10611
- Thank you received: 3690
6 years 10 months ago #153463
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 Filtering multiple question answers into a single array
In my opinion, there is no way to determine "the first choice " in a multiple choice. Respondents can select and de-select items at will.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The following user(s) said Thank You: vzyldd
The topic has been locked.