Balance quotas - fill least full quota

More
7 months 4 weeks ago #152536 by SurveyDennis
SurveyDennis created the topic: Balance quotas - fill least full quota
I have 4 groups of questions, randomly I assign just one group for each participant.

I am using a hidden question with 4 options, so I can set a quota for each option.
I go for 200 completes, 50 completes for each option.

But I don't want people to terminate if the one option is full with the 50 comples and another option not.
Is there a way to check the quota status in the survey and to assign a different option when the option is already full?

Be SurveyFriendly too
dennis [at] SurveyFriendly [dot] com

Please Log in to join the conversation.

More
7 months 4 weeks ago #152551 by holch
holch replied the topic: Balance quotas - fill least full quota
I don't see a way to do this without manually adapting the quota according to the "fill status". Unfortunately the quota in LS are either full or not and when full you get screened out.

And you can't access answers of others either in a questionnaire.

However, there is a plugin from Denis Chenu, that allows to check statistics at the current state. So maybe it is possible to use this to read out the current count for each quota. But I have never tried the plugin. You might be able to read the database via Ajax or something and then adapt the quota. But this will definitely require some custom coding.

I'm not a LimeSurvey GmbH member. I answer at the LimeSurvey forum in my spare time. No support via private message.
Some helpful links: Manual (EN) | Question Types | Workarounds

Please Log in to join the conversation.

More
7 months 3 weeks ago #152560 by SurveyDennis
SurveyDennis replied the topic: Balance quotas - fill least full quota
Thanks again for looking into this!

Yes good one, I think I will go indeed for an ajax call, external php page to check the mysql database directly.

Be SurveyFriendly too
dennis [at] SurveyFriendly [dot] com

Please Log in to join the conversation.

Start now!

Just create your account and start using Limesurvey today.

Register now
Join our Newsletter!