How to perform calculations on a form?

  • Profile Image
    25701wsaz
    Asked on May 04, 2017 at 02:17 PM

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

  • Profile Image
    Jim_R
    Answered 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 😊