How to Create Calculation Between Two Fields?

  • Dan Miller
    Asked on February 19, 2024 at 10:20 PM

    How do I define a field to calculate the total of two other fields (Field - Fields 2 = Total)

    Assets - Liabilities = Net worth

  • Sheena JotForm Support
    Replied on February 19, 2024 at 11:35 PM

    Hello Dan,

    Thanks for reaching out to Jotform Support. Let me show you how to calculate the difference between two fields:

    1. Add two number fields in your form to collect data for Asset and LiabilitiesHow to Create Calculation Between Two Fields? Image 1 Screenshot 50
    2. Add a Form Calculator widget which should show the total of the calculationHow to Create Calculation Between Two Fields? Image 2 Screenshot 61
    3. Create a calculation by clicking on the widget's wand icon and adding the fields How to Create Calculation Between Two Fields? Image 3 Screenshot 72

    Result:

    How to Create Calculation Between Two Fields? Image 4 Screenshot 83

    We have a guide on How to Perform Calculations Using a Widget that you can check.

    Give it a try and let us know if you have any other questions.

  • Dan691
    Replied on February 20, 2024 at 6:15 AM

    Ok.. that works. Thanks!


    One other question... can I define a field as a $Currency field instead of as just a number field?
  • Sheena JotForm Support
    Replied on February 20, 2024 at 6:43 AM

    Hello Dan,

    Thanks for getting back to us. I moved your other question to a new thread and helped you with that here.

  • Dan691
    Replied on February 20, 2024 at 8:31 AM

    Excellent! Thank you. I didn't realize I could that.