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
  • bpresentati's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205285 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.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago #205299 by tpartner

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")?

It can be done with CSS.

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
  • bpresentati's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205302 by bpresentati
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.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago - 3 years 7 months ago #205306 by Joffm
Hi,
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
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
3 years 7 months ago - 3 years 7 months ago #205307 by Joffm


and with an extended vanilla theme

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
  • bpresentati's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
3 years 7 months ago #205367 by bpresentati
Thanks, Joffm, this worked like a charm!
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose