- Posts: 9
- Thank you received: 0
Welcome to the LimeSurvey Community Forum
Ask the community, share ideas, and connect with other LimeSurvey users!
Subquestion Randomization with Blocks of Questions that Remain Together
- bpresentati
- Topic Author
- Offline
- New Member
Less
More
3 years 7 months ago #205285
by bpresentati
Subquestion Randomization with Blocks of Questions that Remain Together was created by bpresentati
Hello,
I have an array with approx. 75 subquestions. The subquestions belong together in "concept groups". I'd like to randomize the subquestions in the concept groups, and I'd also like to randomize the order of the groups among one another, but I want the questions that belong to each concept group to stay together.
Is this possible?
If not, is it possible to make different array questions within a group "squish" together, where all of the array questions after the first one lose their instructional header ("most important" / "least important")?
Attached are examples of how the order would appear.
I have an array with approx. 75 subquestions. The subquestions belong together in "concept groups". I'd like to randomize the subquestions in the concept groups, and I'd also like to randomize the order of the groups among one another, but I want the questions that belong to each concept group to stay together.
Is this possible?
If not, is it possible to make different array questions within a group "squish" together, where all of the array questions after the first one lose their instructional header ("most important" / "least important")?
Attached are examples of how the order would appear.
The topic has been locked.
- tpartner
- Offline
- LimeSurvey Community Team
Less
More
- Posts: 10109
- Thank you received: 3595
3 years 7 months ago #205299
by tpartner
Have a look at Denis' Skelvanilla theme - extensions.sondages.pro/themes-and-templ...b-group-inside-group
Cheers,
Tony Partner
Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
Replied by tpartner on topic Subquestion Randomization with Blocks of Questions that Remain Together
It can be done with CSS.If not, is it possible to make different array questions within a group "squish" together, where all of the array questions after the first one lose their instructional header ("most important" / "least important")?
Have a look at Denis' Skelvanilla theme - extensions.sondages.pro/themes-and-templ...b-group-inside-group
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: DenisChenu
The topic has been locked.
- bpresentati
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
3 years 7 months ago #205302
by bpresentati
Replied by bpresentati on topic Subquestion Randomization with Blocks of Questions that Remain Together
Thanks for the input, tpartner!
I'm not sure if that theme will solve my problem. I still want my arrays to look basically the same, just that (for example) the second question in the group loses its scale from 1 to 5 on top and follows as closely as possible the previous question.
The second picture that I attached shows what I'd like to remove.
I'm not sure if that theme will solve my problem. I still want my arrays to look basically the same, just that (for example) the second question in the group loses its scale from 1 to 5 on top and follows as closely as possible the previous question.
The second picture that I attached shows what I'd like to remove.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
3 years 7 months ago - 3 years 7 months ago #205306
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Subquestion Randomization with Blocks of Questions that Remain Together
Hi,
generally this is solved by using the classes ".no-bottom" and ".no-question".
Generally. But you want to randomize the groups. Therefore you have to know which group is the first and the last.
In the first you want to show the header, in the last the footer.
Don't worry about the small gaps. This theme has rounded corners. So it is not really usable for this solution.
You see your requirements are fulfilled (randomization of groups (e1,e2,e3) and randomization of subquestions within groups); but the rest ...?
You can solve this be putting one fixed item at the top and one at the bottom.
And in my opinion this css is a part of the skelvanilla theme.
skelvanilla may be better. You only have to remove the headers.
Joffm
generally this is solved by using the classes ".no-bottom" and ".no-question".
Code:
.no-question{border-top:0;} .no-question .question-title-container{display:none;} .no-question .question-valid-container{display:none;} .no-bottom{border-bottom:0;margin-bottom:0;} .no-question .answer-container { padding-top: 0em; padding-bottom: 0.5em; } .no-bottom .answer-container { padding-bottom: 0em} .no-question thead {display:none !important}
Generally. But you want to randomize the groups. Therefore you have to know which group is the first and the last.
In the first you want to show the header, in the last the footer.
Don't worry about the small gaps. This theme has rounded corners. So it is not really usable for this solution.
You see your requirements are fulfilled (randomization of groups (e1,e2,e3) and randomization of subquestions within groups); but the rest ...?
You can solve this be putting one fixed item at the top and one at the bottom.
And in my opinion this css is a part of the skelvanilla theme.
skelvanilla may be better. You only have to remove the headers.
Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The topic has been locked.
- Joffm
- Away
- LimeSurvey Community Team
Less
More
- Posts: 12943
- Thank you received: 3979
3 years 7 months ago - 3 years 7 months ago #205307
by Joffm
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Replied by Joffm on topic Subquestion Randomization with Blocks of Questions that Remain Together
Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 3 years 7 months ago by Joffm.
The following user(s) said Thank You: bpresentati
The topic has been locked.
- bpresentati
- Topic Author
- Offline
- New Member
Less
More
- Posts: 9
- Thank you received: 0
3 years 7 months ago #205367
by bpresentati
Replied by bpresentati on topic Subquestion Randomization with Blocks of Questions that Remain Together
Thanks, Joffm, this worked like a charm!
The topic has been locked.