What is JotForm?
JotForm is a free online form builder which helps you create online forms without writing a single line of code. No sign-up required.
At JotForm, we want to make sure that you’re getting the online form builder help that you need. Our friendly customer support team is available 24/7.
We believe that if one user has a question, there could be more users who may have the same question. This is why many of our support forum threads are public and available to be searched and viewed. If you’d like help immediately, feel free to search for a similar question, or submit your question or concern.
Disable checkbox after it's been chosen by 20 visitors?Asked by spccasc on April 27, 2016 at 02:52 PM
Is it possible to use a conditional or code to disable a checkbox after it's been checked and submitted by 20 other visitors?
The scenario: I have 8 checkboxes that are available times of a free training session. The department wants to disable any checkbox that has been chosen by 20 visitors, because that's the number of seats in the room. So I'd need the form to check to see how many people have checked each box, then disable the checkboxes that have been chosen 20 times.
Is this possible?
You could do that by using a widget, like the following: Ticket Purchases
It will allow you to set up the widget to only accept the 20 selections as you have mentioned. Since it is a widget, it will be able to check the number of times some option was used and based on that disable the same.
You can add it to your form by following the steps here: How to Add a Widget to your Form
Thanks! I'll check it out.