Welcome to the LimeSurvey Community Forum

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

Compound quotes

More
3 hours 43 minutes ago #274355 by ritapas
Compound quotes was created by ritapas
Please help us help you and fill where relevant:
Your LimeSurvey version: 6.6.13
Own server or LimeSurvey hosting: Own
Survey theme/template: N/A
==================
Hello,
I think I did not understand how quotas work.
I will simplify here my requirement: we will use LimeSurvey to register people to a party we are going to have. People are asked whether they will come AND whether they will take somebody with them. However, we have limited seats so we must set a quota to stop bookings when there are no seats left.
I enclose a sample survey with a limit of three, just to simplify testing.
In the example I put only two Yes/no questions: will you come? and Will you take somebody with you?
In the quotasetting.png file I show how I set the quota.

However, to do the testing I posted two responses, one from somebody who comes with a friend and one with somebody comining alone. See responses.png. The quota is still at 1. A third person could book his seat despite having none left.
Where am I mistaking?

Kind regards
Rita  

 

Please Log in to join the conversation.

More
3 hours 18 minutes ago #274356 by ritapas
Replied by ritapas on topic Compound quotes
P.S.: I understand the quote I set is triggered only when the participant chooses to come AND to take a partner with him. Is there a way to count all people coming, instead? 

Please Log in to join the conversation.

More
1 hour ago #274357 by Joffm
Replied by Joffm on topic Compound quotes
Hi, 
I'd use an equation to count the guests of one party, like {countif("Y",YouCome,WithPartner)}
then in a next equation the function statCount to count the total guests, like "if(statCountif(...)>3,0,1)"
Now you can set the quota on this last equation on outcome "0".

Due to a lack of time only a rough idea.

Joffm

BTW:
Wouldn't it be better to use simple "bootstrap-buttons" with
0: I will not come
1: I come alone
2: I come with partner

Here you only have to count this single question.

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

Please Log in to join the conversation.

Moderators: tpartnerholch

Lime-years ahead

Online-surveys for every purse and purpose