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.

  • Profile Image

    Limited Quantities

    Asked by pinkhairedgirl on September 14, 2015 at 10:26 AM

    Is there a way to create the form where quantities are automatically limited? Meaning, we want to use a form for a class scheduler where there's a fee. But the class sizes are limited. We also use Stripe. Is there a way for the form to stop accepting submissions once a class is full? Thanks! 

  • Profile Image
    JotForm Support

    Answered by david on September 14, 2015 at 02:23 PM


    This can be accomplished using the inventory widget:


    This will allow you to have a certain number of each class and assign a cost to them as well. 

    You can then use a calculation widget to total them up:


    Then pass that total to your Stripe payment field:


    You can also limit the number of submissions that the form will accept, based on the total number of all classes available:


    If you have 4 classes and 25 spots for each, you would limit your form to 100 total submissions.  That way, once all the inventory widgets were depleted, the form itself would no longer accept submissions.

    That is quite a bit of info to take in, if you want clarification regarding anything, let us know and we will be happy to help.