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

    How to perform calculations on a form?

    Asked by 25701wsaz on May 04, 2017 at 02:17 PM

    How can I do calculations? x items for $y dollars each = $total price

    Page URL:

  • Profile Image
    JotForm Support

    Answered by Jim_R on May 04, 2017 at 03:42 PM

    Looks like you're doing calculations with tons of Inventory Widgets. The Inventory Widget's output is the actual number they picked from the Dropdown List (or basically the Quantity the user selected).

    This would mean that in order to use them in the Form Calculation widget, you'd have to multiply the selected quantity with the intended price of each item then add them as a total.

    To keep things simpler, I created this demo form 71236184238961 where I only recreated the first 2 Inventory Widgets you have on your form.

    The Form Calculation Widget was setup this way:

    What this basically means is that you need to separate EACH Inventory Widget in parentheses, compute the total separately, then add them all up.

    I used 650 and 750 because those were the prices I saw on your widgets.

    (1st widget's selected quantity X 1st widget's price) + (2nd widget's selected quantity X 2nd widget's price) + (3rd widget's selected quantity X 3rd widget's price) ...and so on.

    I'm listing a guide below that will further help you about Form Calculations.

    Related guide: How-to-Perform-Calculation-in-the-Form

    In case you need more help, just ask 😊