Welcome to the LimeSurvey Community Forum

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

Cycle through question groups

  • dicaes
  • dicaes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196771 by dicaes
Cycle through question groups was created by dicaes
Hi! I'm really new to Limesurvey so any help is greatly appreciated.
I have a survey and a bunch of question groups, and I want to hide some of them based on the number of people that have responded to the survey, is there any way to do that?
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196774 by Joffm
Replied by Joffm on topic Cycle through question groups
Yes, there might be a way.


Honestly, what do you expect us to answer if you do not explain most detailled your planned workflow.
Always keep in mind, what is written here
www.limesurvey.org/forum/installation-a-...efore-you-write-here


Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196787 by Joffm
Replied by Joffm on topic Cycle through question groups
Hi,

I want to hide some of them based on the number of people that have responded to the survey,

You see, I cannot believe that you want to do something like this:

The first 10 respondents have to answer 10 groups.
The next 10 only have to answer group 1,2,4,5,6,7,8.
The next 20 only have to answer group 1,2,5,7.

So please explain.

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • dicaes
  • dicaes's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 2 weeks ago #196805 by dicaes
Replied by dicaes on topic Cycle through question groups
Thanks for responding! Sorry for being somewhat vague in my first post. My survey looks something like this:

Group 1a
Group1b
Group1c

Group2a
Group2b
Group1c

etc...

I want to make it so that participant 1 answers only groups 1a, 2b, 3c..., participant 2 answers only 1b, 2c, 3a... and so forth.

The idea is that groups a, b, c have similar but slightly different prompts for their questions and I want to measure how the participants react to those small changes.

Thanks again for your help!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 2 weeks ago #196835 by Joffm
Replied by Joffm on topic Cycle through question groups
How many of these groups do you have?
Does your
"etc." mean

Group3a
Group3b
Group3c

Group4a
Group4b
Group4c

etc.

So in each group there are three variations?
And something like random assignment of variations
Group1a
Group2c
Group3b
Group4b
Group5a
is allowed?

Or do you want to force the a,b,c,a,b,c order like
Group1a
Group2b
Group3c
Group4a
Group5b
...
or
Group1b
Group2c
Group3a
Group4b
Group5c
...
If you prefer the second it is rather easy because there are only 3 different ways to display.
So create a random number (1-3)
and display
Group1a: randomnumber==1
Group1b: randomnumber==2
Group1c: randomnumber==3
Group2a: randomnumber==3
Group2b: randomnumber==1
Group2c: randomnumber==2
Group3a: randomnumber==2
Group3b: randomnumber==3
Group3c: randomnumber==1
Group4a: randomnumber==1
Group4b: randomnumber==2
Group4c: randomnumber==3
Group5a: randomnumber==3
Group5b: randomnumber==1
Group5c: randomnumber==2
...

The first option is similar though you have a higher number of possible rotations
Calculate them (IMO a subset is sufficient, maybe ten different rotations, but depends on the number of groups)
and display similar (only an example)
Group1a: randomnumber==1 or randomnumber==4 or randomnumber==9 or...
Group1b: randomnumber==2 or randomnumber==6 or randomnumber==8
Group1c: randomnumber==3 or randomnumber==5 or randomnumber==7
...

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.

Lime-years ahead

Online-surveys for every purse and purpose