Welcome to the LimeSurvey Community Forum

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

Collect responses into different groups?

  • KatieRose41
  • KatieRose41's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #192446 by KatieRose41
Collect responses into different groups? was created by KatieRose41
Hi - I hope you can help!
I have to issue a survey where the participants are divided into 3 groups.

They do not know which group they are in, so we can't make it a question, but we need to know which group they are in when analysing the survey results - whilst also having the results for the group overall. The survey needs to be anonymous.

I have looked into doing this using tokens or different URLs but cannot find a way to do it. Is it possible to do this using Limesurvey?

Many thanks in advance!
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192448 by Joffm
Replied by Joffm on topic Collect responses into different groups?
Hi,
you have to create a random number (1 to 3) at the beginning of the survey in a question of type "equation".
Then you either display the different questions/wordings to these groups either by relevance equation or by micro-tayloring.

Please read the manual here
manual.limesurvey.org/Expression_Manager_-_quick_start_guide

Joffm

Volunteers are not paid.
Not because they are worthless, but because they are priceless
The topic has been locked.
  • KatieRose41
  • KatieRose41's Avatar Topic Author
  • Offline
  • New Member
  • New Member
More
4 years 3 months ago #192500 by KatieRose41
Replied by KatieRose41 on topic Collect responses into different groups?
Thanks so much for your response. I am not sure I explained myself very well.

The questions we want to ask are the same for all 3 groups. However, for analysis we need to know which group they fall into. (They do not know, so we can't ask the question and then filter on it.)

We need to keep the survey anonymous so I can't use individual tokens. Do you know if we can achieve this?

Thanks so much.
The topic has been locked.
  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192515 by tpartner
Replied by tpartner on topic Collect responses into different groups?
I suppose you could load a hidden question via the survey URL but this may give the respondents an indication of which group they are in.

- manual.limesurvey.org/URL_fields/en#Pref...using_GET_parameters

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The topic has been locked.
  • Joffm
  • Joffm's Avatar
  • Away
  • LimeSurvey Community Team
  • LimeSurvey Community Team
More
4 years 3 months ago #192516 by Joffm
Replied by Joffm on topic Collect responses into different groups?
As I said before,
create a hidden question of type equation (call it "randomnumber" or whatever you want). In the question text: you enter
{if(is_empty(randomnumber),rand(1,3),randomnumber)}

So you will get a variable in your dataset "randomnumber" that contains the value.
Furthermore you are able to display or not display question according to that random number using relevance.

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