Skip to main content
Participant
May 30, 2018
Question

Sum Total of Inputs

  • May 30, 2018
  • 2 replies
  • 434 views

Hi,

I'm assuming if this could be done it would be done with a Javascript.

I'm working on a form and am trying to sum the totals entered into four different fields.

Is this possible?

This topic has been closed for replies.

2 replies

Inspiring
May 30, 2018

Acrobat provides 3 different calculation method and any one of the three is capable of summing four fields.

You can use the "Field is the _______ of the following fields" and select "Sum" and then select the fields to be included in the sum. Just use the mouse to highlight the field name and press the space bar.

You can use "Simplified field notation" and enter the field names separated by the "+" operator if the field names contain no special characters or spaces in their names.

And lastly you use the "Custom JavaScript calculation" to enter all the JavaScript commands to sum and set the field's value. Note the above 2 options also use JavaScript in the background to do their heavy scripting lifting at the loss of some control.

How to do (not so simple) form calculations by Thom Parker. Old but still relevant.

try67
Community Expert
Community Expert
May 30, 2018

You don't need JS. Use this option in the Calculate tab and then select the fields you want to add up from the list: