Form Calculation Widget

  • binnerriw2g
    Asked on November 13, 2020 at 1:21 PM

    I am trying to use for calculation widget for my form. As I fill out the form, what if I make mistake? How do I delete and rewrite?

  • John Support Team Lead
    Replied on November 13, 2020 at 3:32 PM

    Since form calculation widgets are based on values from other field of the form, you would need to change the values of those fields. Or you can just start from scratch by reloading the browser where the form is accessed. This will clear all the entries that you added to the form.

  • binnerriw2g
    Replied on November 13, 2020 at 4:09 PM

    Thanks for your answer. Unfortunately, I still don't get it. I have many items on the form (Awana "Untact" Market FYI) and I need a calculator on the bottom of the form to add up "shares" for all things marked! Is the calculation widget the best option? And can you please send me an instruction for that widget? Thank you so much!


  • John Support Team Lead
    Replied on November 13, 2020 at 5:34 PM

    The form calculation widget is used to calculate field values based on formula you set. Please refer to this guide on how-to-perform-form-calculation-using-a-widget.

    Now, I can see that you are working on this form: , and I assume that what you're trying to achieve is to get the total cost of the products selected by the user.

    I recorded a video to guide you how it's done. Here's the link: https://drive.google.com/file/d/12LbxY0ua2SMLyELzL-asG7xL4tadZpVa/view

    So basically, you only need to add the fields to the widget, multiply it by its price, separate each with parenthesis, then get the total by adding plus sign "+" between each fields.


  • binnerriw2g
    Replied on November 17, 2020 at 10:02 AM

    Thank you! I did as the given direction. However, it doesn't give me any number when I tried on the preview. Can you go look at the form and tell me what I did wrong? Thank you!

  • David JotForm Support Manager
    Replied on November 17, 2020 at 11:07 AM

    Good day, perform calculations through the Inventory widget takes time to load, so adding up all them in a single Form Calculation would slow down, and even stop the widget from calculating.

    Please try to add more Form Calculation widgets, at least 10 more, so you can sum up 6 Inventory widgets per Form Calculation, and then add one more Form Calculation widget to sum up all the Form Calculation widgets.

  • binnerriw2g
    Replied on November 17, 2020 at 11:37 AM

    I tried with six items, but it still doesn't work.

  • David JotForm Support Manager
    Replied on November 17, 2020 at 1:03 PM

    Hi, I cloned your form, and noticed that it is missing some parentheses:

    1605636151 5fb41037bcb52 missing Screenshot 10

    I have added them in my clone version, and it now calculates the sum of T-001-006: https://form.jotform.com/203214940415951

    Let us know if you need more help.

  • Binnerriw2g
    Replied on November 17, 2020 at 9:19 PM

    Hi

    i am testing the page and it seems the page is not showing correctly i got a couple of feedback that it shows only the half of the item photo what is the matter? 1605665838 5fb4842ecff3c 9B0333E5 5297 4 Screenshot 10
  • John Support Team Lead
    Replied on November 17, 2020 at 10:52 PM

    Since your last question now tackles a different concern, I have moved it to separate ticket. I will address that shortly via this link: https://www.jotform.com/answers/2709124