Disable checkbox after it's been chosen by 20 visitors?

  • Profile Image
    Asked 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?




  • Profile Image
    Answered on April 27, 2016 at 04:07 PM

    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

  • Profile Image
    Answered on April 28, 2016 at 10:31 AM

    Thanks! I'll check it out.