How to Perform Form Calculation in the Input Table Element

May 14, 2022

The Input Table element can be found in the Basic tab of the Form Elements panel.

In this guide, we will set up a survey questionnaire with ratings using the Input Table element and then calculate the total rating using the Form Calculation widget. Let’s start.

  1. Add an Input Table element to your form.
form-builder-input-table-min.png

For the purpose of this guide, we’ll be using the Input Table’s default setup.

  1. Click the gear icon to open the properties panel.
  2. Go to the Options tab.
  3. Define the values in the Calculations Values field.
form-builder-input-table-calculation-values-min.png
Separate each column with a comma and each row with a new line.

Note

The Calculation Values option only works on radio button and checkbox input type.

  1. For the calculations, add a Form Calculation widget to your form.
form-builder-input-table-calculation-widget-min.png

For more information, check out the How to Perform Form Calculation Using a Widget guide.

  1. Open the widget settings panel by clicking the wand icon.
  2. Click Add Field then choose the Input Table.
form-builder-input-table-calculation-add-field-min.png
  1. Select the sub-fields to use in the calculations.
form-builder-input-table-calculation-sub-fields-min.png

This will add the sub-fields in the calculation screen without operators.

  1. Complete the formula then click the Save button to save the changes.
form-builder-input-table-calculation-save-min.png
Get the sum of all sub-fields.

Here’s a demo form with the setup above applied: https://www.jotform.com/221335927268461

Do you have questions about this guide? Please let us know in the comment box below or post it to the support forum.

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:

  • The GS Way
  • Elizabeth Friedman
  • Bonginkhosi Gwebu
  • Emily Crane
  • Michael Moto
  • Gordon McCulloch
  • GIRL SCOUT TROOP 1148