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

    Is there a setting limits on the quantity of sales?

    Asked by pillots on September 09, 2015 at 02:02 PM
    Is there a setting limits on the quantity of sales?
    In the form of the product already exists the possibility to select the desired number of the buyer. How is possible restrict the buyer to show him that he chooses the product more than remains in stock? Thus the system will limit the sale of the product, which remains a little, or no longer exists. https://yadi.sk/i/Fg9Lss2FiyJFy
  • Profile Image

    Answered by Boris on September 09, 2015 at 02:22 PM

    I'm afraid that we do not have a quantity of available products in any of the Payment Tools.

    We can achieve what you are looking for by using widgets and regular form fields instead, for both presenting your products, and calculating the total amount to be paid, and then only passing that calculated amount to the payment tool for processing.

    Now, this is slightly more involved to set up, but we can use the Inventory widget to hold the total amount of available items for each product. (manual: How to Add a Widget to your Form)

    So if you have 3 products, you will add the Inventory widget 3 times to your form. The inventory widget allows for adding the product image as well.

    Then, you will use a Form Calculation to calculate the total price, such as:

    (number of product 1 selected X price) + (number of product 2 selected X price)

    And finally, we forward this data to the payment tool for payments, by following this guide:


    You can check out a demo form of the this setup, here:


    Please let us know if you need further assistance in setting it up, and we will be happy to help.