Check out the LimeSurvey source code on GitHub!
Welcome, Guest
Username: Password:

TOPIC: Limit the number of submission for one answer option in list radio button?

Limit the number of submission for one answer option in list radio button? 3 years 11 months ago #86214

  • mihajlo
  • mihajlo's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
In one form I need to use "list radio button" and to limit each of the answer option to maximum 20 choses, after which this answer option will hide or will not be able to select.

How can I do that?
The administrator has disabled public write access.

Limit the number of submission for one answer option in list radio button? 3 years 11 months ago #86237

  • tpartner
  • tpartner's Avatar
  • Offline
  • LimeSurvey Team
  • Posts: 6221
  • Thank you received: 1379
  • Karma: 539
The only way to do that would be to make an AJAX call to a remote PHP script that queries the database and checks for the number of respponses - some JavaScript and PHP coding required.
Cheers,
Tony Partner

Solutions, code and workarounds presented in these forums are given without any warranty, implied or otherwise.
The administrator has disabled public write access.

Limit the number of submission for one answer option in list radio button? 3 years 8 months ago #89607

  • mihajlo
  • mihajlo's Avatar
  • Offline
  • Fresh Lemon
  • Posts: 5
  • Karma: 0
Thanks a lot! :)
The administrator has disabled public write access.
Moderators: ITEd
Time to create page: 0.192 seconds
Imprint                   Data Protection Statement                  Revocation information and revocation form