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

    Can I limit the total quantity of ALL orders?

    Asked by Sam  on June 28, 2017 at 06:56 PM

    I want to set up an online booking form to order pre-picked berries.  But I need to be able to limit the total qty available to order each day. In other words, I want to have the app know that "John Smith" can't order 5 baskets because my total qty for the day is 200 and our current orders are at 197.

  • Profile Image
    JotForm Support

    Answered by EltonCris on June 28, 2017 at 10:13 PM

    You can use this widget for your products.


    It's called Inventory Widget where you can define the product, set available quantity and the quantity range available to be picked by the users.

    Demo: https://form.jotform.com/61471146729964

    If you want to connect this widget to the payment field, you have to use form calculation widget to get the total amount and then pass the amount to the payment field.


    Perform calculation on form: http://www.jotform.com/help/259-How-to-perform-calculation-in-the-form

    Pass the calculation to the payment field: http://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field

    If you need further assistance, just let us know. We'd be happy to help.