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

    Do I need to setup the product items from the inventory widget to the payment field?

    Asked by Marina2525 on July 20, 2017 at 01:27 PM

    Building first Ecommerce Form on JotForms.  I originally put everything into the Inventory Widgets (Products and Max Quantities. )  Now, I am trying to add the Payment I set up.  It is asking me to re-write each product, but has no way to count or add Max Quantities.  Will it see my Inventory fields and be able to count down inventory, or do I need to add inventory after Im done wiht the Payment Wizard? 

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Welvin on July 20, 2017 at 03:26 PM

    You have to calculate (calculation widget) the inventory widget in the form. See this sample equation in the calculation:

    The left and right bracket mean to get the total price first of each inventory widget in the form. 

    Here's our guide on how to calculate: https://www.jotform.com/help/259-How-to-perform-calculation-in-the-form.

    To pass the total amount to the Payment field, you need to configure the payment field to get the price from the calculation. Here's a guide: https://www.jotform.com/help/275-How-to-pass-a-calculation-to-a-payment-field. You do not need to setup the product items again in the payment field configuration, just the total of the inventory widgets. 

    Let us know if you need further assistance.