Check out the LimeSurvey source code on GitHub!

Limiting the number of person who choose one radio button

More
3 years 9 months ago #96051 by stevelegare
Limiting the number of person who choose one option or another.

For example, question 1 have 20 choices (radio buttons). If user A choose choice 3 I would like that user B can't choose it.

It is possible with LimeSurvey?

Best regards

Please Log in to join the conversation.

More
3 years 9 months ago #96056 by tpartner
Tricky. The only solution I see is to make an AJAX call to a remote script that queries the database for previous responses and then use the results of that call to hide/show options.

You can search the forums for AJAX examples but you will need some JavaScript and PHP skills.

Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.

Please Log in to join the conversation.

More
3 years 9 months ago #96071 by stevelegare
Thansk for your answer.
I will look for AJAX call.

Please Log in to join the conversation.

Imprint                   Privacy policy         General Terms & Conditions         Revocation information and revocation form