Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Array filter with exclusive option
- Mazi
- Offline
- Official LimeSurvey Partner
Less
More
13 years 7 months ago #48323
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Array filter with exclusive option
Note that question IDs change when setting up a new question so don't forget to adjust the IDs.
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
13 years 7 months ago #48350
by tpartner
Can you activate a sample survey or provide a screenshot?
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 exclusive option
Hmm...now I'm a little confused. I thought you were filtering an array with a multiple options question (see my screenshot).The survey requires a multi-option (checkbox) array followed by another multi-option (checkbox) array filtered and including the exclusive option and other option as well...
Can you activate a sample survey or provide a screenshot?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Attachments:
The topic has been locked.
- wireframemedia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
13 years 7 months ago #48351
by wireframemedia
Replied by wireframemedia on topic Array filter with exclusive option
Sorry, perhaps I didn't word that correctly.
The survey has a series of questions (multi-choice, checkboxes) which all cascade, feed to one another. The final one also needs a static/exclusive option. As below:
Q1
What colors do you like?
[ ] Red
[ ] Blue
[ ] Green
[ ] Yellow
Q2
Which colors do you like best? (feeds only the answers chosen in Q1)
[ ] Red
[ ] Blue
* This being the final question in the series also needs one other static choice not present in Q1/array filter.
[ ] None of the above
This is what they are trying to achieve.
Does that help?
Thank you again.
Dawna
The survey has a series of questions (multi-choice, checkboxes) which all cascade, feed to one another. The final one also needs a static/exclusive option. As below:
Q1
What colors do you like?
[ ] Red
[ ] Blue
[ ] Green
[ ] Yellow
Q2
Which colors do you like best? (feeds only the answers chosen in Q1)
[ ] Red
[ ] Blue
* This being the final question in the series also needs one other static choice not present in Q1/array filter.
[ ] None of the above
This is what they are trying to achieve.
Does that help?
Thank you again.
Dawna
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
13 years 7 months ago #48353
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 exclusive option
Okay, I see now. I thought you were trying to filter an array type with a multi-option type (as in the image above). Now what I'm seeing is a series of multi-options filtering each other and culminating in a final one that has a static option.
I'll have to give it a little more thought and see how the "automatic filtering" will affect our "custom filter" on the last two in the cascade.
How many questions are there in the cascade?
I'll have to give it a little more thought and see how the "automatic filtering" will affect our "custom filter" on the last two in the cascade.
How many questions are there in the cascade?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- wireframemedia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
13 years 7 months ago #48356
by wireframemedia
Replied by wireframemedia on topic Array filter with exclusive option
Tony,
It's only a set of three questions which cascade, each however has 13 options/choices and the last needs to have the "none of the above" static option.
However, later in the survey, the results of that last one are piped back in repeatedly in the question text (which works great), and used for skip rules (conditions, again works great).
I am highly impressed by this product and am advising my clients to start using it and donate to support the efforts.
This survey is a highly complex one and just about 98% of it was easily accomplished through LimeSurvey, out-of-the-box. I have only a few straggling issues.
Thank you for all your help with this.
Dawna
It's only a set of three questions which cascade, each however has 13 options/choices and the last needs to have the "none of the above" static option.
However, later in the survey, the results of that last one are piped back in repeatedly in the question text (which works great), and used for skip rules (conditions, again works great).
I am highly impressed by this product and am advising my clients to start using it and donate to support the efforts.
This survey is a highly complex one and just about 98% of it was easily accomplished through LimeSurvey, out-of-the-box. I have only a few straggling issues.
Thank you for all your help with this.
Dawna
The topic has been locked.
- DenisChenu
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 13675
- Thank you received: 2496
13 years 7 months ago #48364
by DenisChenu
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
Replied by DenisChenu on topic Array filter with exclusive option
Just an idea :
Add the None of the above answer to each question, put this one in default for the first question and hide it with css/js.
I think it's easy to do, there are only a problem : all first statistics are bad cause this option.
Add the None of the above answer to each question, put this one in default for the first question and hide it with css/js.
I think it's easy to do, there are only a problem : all first statistics are bad cause this option.
Assistance on LimeSurvey forum and LimeSurvey core development are on my free time.
I'm not a LimeSurvey GmbH member, professional service on demand , plugin development .
I don't answer to private message.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
13 years 7 months ago #48374
by tpartner
Dawna, I don't suppose these questions are on separate pages are they?
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 exclusive option
Clever idea Shnoulle but I'm struggling with the lack of a click event not firing the filtering function. How would you set the "default" in Q1?Add the None of the above answer to each question, put this one in default for the first question and hide it with css/js.
Dawna, I don't suppose these questions are on separate pages are they?
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
- wireframemedia
- Topic Author
- Offline
- New Member
Less
More
- Posts: 15
- Thank you received: 0
13 years 7 months ago #48376
by wireframemedia
Replied by wireframemedia on topic Array filter with exclusive option
Hi Tony,
Yes they are each on a separate page. The survey is question-by-question.
I went back to the client and asked if we could add this option to each of the previous questions so it would be there when it was needed to filter through. I'm still waiting on an answer but I fear they will want to keep it as is.
Thanks.
Dawna
Yes they are each on a separate page. The survey is question-by-question.
I went back to the client and asked if we could add this option to each of the previous questions so it would be there when it was needed to filter through. I'm still waiting on an answer but I fear they will want to keep it as is.
Thanks.
Dawna
The topic has been locked.
- Mazi
- Offline
- Official LimeSurvey Partner
13 years 7 months ago #48383
by Mazi
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
Replied by Mazi on topic Array filter with exclusive option
tpartner wrote:
Can't we do that by using the new default answer feature in Limesurvey. If you set a default answer there it should check the box at loading time; this should also work if the option is hidden by CSS I guess.Clever idea Shnoulle but I'm struggling with the lack of a click event not firing the filtering function. How would you set the "default" in Q1?
Best regards/Beste Grüße,
Dr. Marcel Minke
Need Help? We offer professional Limesurvey support: survey-consulting.com
Contact: marcel.minke(at)survey-consulting.com
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10115
- Thank you received: 3597
13 years 7 months ago #48392
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 exclusive option
Duh...zoned on that!
So if Dawna can beat her customer into allowing hidden "none of the above" options in all questions we can do it this way.
So if Dawna can beat her customer into allowing hidden "none of the above" options in all questions we can do it this way.
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.