Does it automatically recalculate the result when the inputs change in Calculation

  • Suneel Shivdasani
    Asked on July 18, 2023 at 10:06 PM

    When do calculations happen?

    For example, if I have 3 fields such as:

    Cost of item

    Number ordered

    Total cost

    Where I set the Total cost = Cost x Number,

    But if the user then goes back to change the cost of the item, does it automatically recalculate the Total Cost?

  • Bella JotForm Support
    Replied on July 19, 2023 at 4:02 AM

    Hi Suneel,

    Thanks for reaching out to Jotform Support. Yes, it's going to calculate the conditions automatically. I've set the sample conditions as you mentioned. Check out the screenshot below:

    Does it automatically recalculate the result when the inputs change in Calculation Image 1 Screenshot 30

    So either the Cost of the item or the Number ordered changes, Total cost will be calculated based on inputs. You can see the result in the screencast below:

    Does it automatically recalculate the result when the inputs change in Calculation Image 2 Screenshot 41

    Here's the Demo Form you can test it out and check out this guide about how to clone the form here.

    Give it a try and let us know if you need any help.