How to Perform Form Calculation Using a Widget

Last Update: 

Aside from Conditional Logic, you can also use the Form Calculation widget to perform calculations in Jotform.

Here’s how to set up a Form Calculation widget:

  1. In Form Builder, click on Add Form Element in the upper-left corner.
A screenshot of Form Builder with arrow poiting to Add Form Elements
  1. In the left pane, choose Widgets at the top.
  2. Search and select Form Calculation.
Form Builder with arrow pointing to Widgets and Form Calculation in the Form Elements pane
  1. Click on the widget’s wand icon to open Widget Settings.
  2. In the right pane, use the Add Field button and virtual numeric keypad to build your formula.
  3. Once you’re done, click on Save in the lower-right corner.
A screenshot of Form Builder highlighting Form Calculation's wand icon (to open Widget Settings) and the widget's numeric keypad and Save button

Did you know?

You can use radio buttons, dropdowns, and checkboxes in calculations. To learn more, see Assigning Calculation Values.

form-builder-calculation-widget-options-png

Notes:

  • You can click on items in the formula to switch their value types to numeric or string — indicated by the trailing [0-9] and [A-Z] respectively.
  • Click on the ellipsis button in Widget Settings to view available math functions and more options. Here are the available options:
    • Add fields to the equation as text or string by default.
    • Set the result field to read-only.
    • Show empty decimal places.
    • Ignore hidden fields.
    • Use commas for the decimal point.
    • Set the number of decimal places in numerical results.
Was this guide helpful?
Contact Support:

Our customer support team is available 24/7 and our average response time is between one to two hours.
Our team can be contacted via:

Support Forum: https://www.jotform.com/answers/

Contact Jotform Support: https://www.jotform.com/contact/

Send Comment:

Jotform Avatar
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

Comments:

  • Rachel Hetrick - Profile picture
  • Lu - Profile picture
  • José Enrique Cabrera Pérez - Profile picture
  • Angela Cachia - Profile picture
  • Cassandra Anzalone - Profile picture
  • Brian Cleary - Profile picture
  • Felisa - Profile picture
  • Crudo Sushi - Profile picture
  • Mall OfEtsy - Profile picture
  • Owen Allen - Profile picture
  • Muhammad Gulzar - Profile picture
  • Carla Goulart - Profile picture
  • Harm van Eerten - Profile picture
  • Juan Garcia - Profile picture
  • Darren Glover - Profile picture
  • excellent business4you - Profile picture
  • dancortez2 - Profile picture