Welcome to the LimeSurvey Community Forum

Ask the community, share ideas, and connect with other LimeSurvey users!

Custom Randomization

  • Gapaja
  • Gapaja's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228141 by Gapaja
Custom Randomization was created by Gapaja
Hello Everyone,
I have a survey with 3 main parts, there is no problem in the 2nd and 3rd part. Part 1 consists of 12 questions, I want to group the 12 questions into 4 groups. So I have 4 groups with 3 questions in each. I also want these 12 questions to appear with 1 question on each page. The most important part is that I want both the 4 main question groups and the 3 questions within the question groups to be randomly ordered.
Considering that the question numbers are 1,2,3,4,5,6,7,8,9,10,11,12
Randomly 4,7,6-2,3,1-12,11,10-7,9,8 or 3,2,1-4,6.5-12,10,11-8,7,9  i want to get a order.
Since I want it to appear one by one, when I add each question to a different question group, I cannot make the order I want.
If I add 3 questions to the same group, I can make the order I want, but the questions do not appear one by one.
Thank you for your help

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228144 by Joffm
Replied by Joffm on topic Custom Randomization
4 groups with the same "randomization group name"
In each group 3 questions, also with the same "randomization group name.
E,g,
G1  : randgroup
G1Q1; randquest1
G1Q2; randquest1
G1Q3; randquest1
G2  : randgroup
G2Q4; randquest2
G2Q5; randquest2
​​​​​​​...
​​​​​​​Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228152 by tpartner
Replied by tpartner on topic Custom Randomization
You could hide and show questions within a group with JavaScript.

What is the LimeSurvey version?

What are the question types?

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

  • Gapaja
  • Gapaja's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228167 by Gapaja
Replied by Gapaja on topic Custom Randomization
This was the first method I tried.
the questions are listed, but the question groups are G1-G2-G3-G4

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228169 by Joffm
Replied by Joffm on topic Custom Randomization
Send the lss export of your survey.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Gapaja
  • Gapaja's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago - 1 year 11 months ago #228170 by Gapaja
Replied by Gapaja on topic Custom Randomization
Version 5.3.9+220411
Visual selection list (radio) (Type: L)
In this way, I can do the order I want, but I want these 12 questions to appear with 1 question on each page.

Cause i have another 2nd and 3rd group, I can't set the survey setting question by question.
Last edit: 1 year 11 months ago by Gapaja.

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago #228173 by Joffm
Replied by Joffm on topic Custom Randomization

with 1 question on each page.

What's the problem?
Set it to "question by question"

And please attach a lss export.

Joffm
 

Volunteers are not paid.
Not because they are worthless, but because they are priceless

Please Log in to join the conversation.

  • Gapaja
  • Gapaja's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
1 year 11 months ago #228177 by Gapaja
Replied by Gapaja on topic Custom Randomization
Because of the questions in the 2nd and 3rd chapters, I can't use question by question


dosya.co/6gievola6f2q/limesurvey_survey_282395.lss.html

Please Log in to join the conversation.

  • Joffm
  • Joffm's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
1 year 11 months ago - 1 year 11 months ago #228184 by Joffm
Replied by Joffm on topic Custom Randomization
Of course you can.
One principle of an online survey should be: One question per page.

If you insist to show "group by group" you will have to think about a new approach.

In my opinion these three questions in four groups have something in common.
So there could be a way to use a random number anbd "micro-tayloring" 
Or you just hard code some sequences of questions and display them using a random number.

But as long as you do not show a prototype of your survey, each guess on ourside is useless.

Joffm 

Volunteers are not paid.
Not because they are worthless, but because they are priceless
Last edit: 1 year 11 months ago by Joffm.

Please Log in to join the conversation.

Lime-years ahead

Online-surveys for every purse and purpose