participant attribute quota

More
1 month 3 weeks ago - 1 month 3 weeks ago #203135 by JaimeAvalos
Hi everybody,

I would like to set a quota in a survey based in some participant attribute.

I initialized a participant table with the Country of the participants introduced in the field "First Name".

Now I would like to stablish a quota of 100 for each country I have: UK, ES and DE.

I have been trying different thngs but I did not find anything that worked. I appreciate a lot your help. My LS Version is 3.21.6+200121

Cheers
Last edit: 1 month 3 weeks ago by JaimeAvalos.

Please Log in to join the conversation.

LimeSurvey Partners
More
1 month 3 weeks ago #203152 by holch
Replied by holch on topic participant attribute quota
Why don't you create a custom attribute for "country" instead of misusing the name field? Then you can access it in the survey for example via {TOKEN:ATTRIBUTE_1}

Not sure if you can use these token fields directly in a quota. If not, you just write it into a hidden equation question and set the quota on this.

But if you really need to use firstname for the country, then you could use something like {TOKEN:FIRSTNAME}.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 month 3 weeks ago #203153 by holch
Replied by holch on topic participant attribute quota
Also instead of saying "I have been trying different thngs but I did not find anything that worked" you should tell us what "things" you have already tried. This helps to keep the back and forth of hints low.

I answer at the LimeSurvey forum in my spare time, I'm not a LimeSurvey GmbH employee.
No support via private message.

Please Log in to join the conversation.

More
1 month 2 weeks ago #203634 by JaimeAvalos
Thank you for this hint, thank to it I solved the problem.

I created a always hidden radio question for each country and the country marked as default. This question is only displayed if {TOKEN:FIRSTNAME = "country" }.

If you place these questins at the end of the survey the quota counts when a survey is completed for each country.

i think this topic can be close. Thanks again

Please Log in to join the conversation.

More
1 month 2 weeks ago #203641 by Joffm
Replied by Joffm on topic participant attribute quota
And your respondents will be very grateful.
If the 101st "ES"-respondent fills the whole survey and at the end he is screened out because of the quota.

A quota question has to be placed as soon as possible.

But as I understand you do not want to set a quota but only count.
On this case you might create a hidden question of type "radio" and answer option codes "UK", "ES" and "DE" and set the default value to {TOKEN:FIRSTNAME}

Joffm


Volunteers are not paid.
Not because they are worthless, but because they are priceless
The following user(s) said Thank You: JaimeAvalos

Please Log in to join the conversation.

More
1 month 2 weeks ago #203660 by JaimeAvalos
Thank you you are completly rigth, it must be placed at the very beggining.

you are rigth, to set the default value to {TOKEN:FIRSTNAME} is even more efficient.

Kind regards,
Jaime

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now