How to Automatically Total Values in an Acrobat Fillable Form
Question details
The user needs to configure a fillable PDF form in Adobe Acrobat so that it automatically inserts fixed values when rows are selected and calculates the total sum for a designated column.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating a dynamic fillable PDF form that requires automatic mathematical calculations, such as summing quantities or liters across multiple fields.
- Observed behavior
- The user wants the final total field to dynamically aggregate values inputted across multiple row fields using built-in form calculation properties.
Ensure your PDF document is open in Adobe Acrobat Pro or a compatible PDF editor that supports form field creation and calculation scripts, and verify that all necessary text fields have already been added to the document.
Use the Calculate Tab to Sum Form Fields in Adobe Acrobat
Configure your text fields to automatically calculate and display the sum of selected row fields using the built-in PDF form properties.
By utilizing the Calculate tab in the text field properties, you can easily set up basic mathematical functions like sums and products without needing to write custom JavaScript code. Ensure all fields involved are properly named to avoid confusion.
Right-click each individual row text field, select 'Properties', and set them to insert the required value (e.g., 60) when activated by the user. Ensure the format is set to 'Number'.
Right-click the designated total field at the bottom of your column and select 'Properties' from the context menu.
In the Properties dialog box, click on the 'Calculate' tab to view the available calculation options.
Choose the option 'Value is the sum (+) of the following fields', then click the 'Pick' button to select all relevant row fields that need to be aggregated into this total field.

Edit and Manage Fillable PDF Forms with WPS Office
WPS Office provides a comprehensive PDF editor that allows you to seamlessly fill out, manage, and interact with PDF forms without needing heavy software. It offers excellent compatibility with standard PDF formats and calculation scripts.
- 1. Open the PDF in WPS Office: Launch WPS Office and open your fillable PDF form using the WPS PDF tool.
- 2. Navigate to Form tools: Go to the 'Form' tab on the top ribbon to access various form field interaction options.
- 3. Interact with fields: Click on the text fields to input data. If calculations are pre-configured in the document, WPS PDF will process them automatically as you type.
- 4. Save your document: Once filled, click 'Save' or press Ctrl+S to preserve your entered data and calculated totals safely.

Frequently Asked Questions
Why is my PDF form not calculating the total automatically?
This usually happens if the calculation order is incorrect or if the field formats are not set to 'Number'. Open the field properties and ensure all fields involved in the sum are formatted as numbers under the Format tab.
Can I use custom formulas instead of a simple sum in Acrobat?
Yes, in the Calculate tab of the field properties, you can select 'Simplified field notation' to write basic math equations or 'Custom calculation script' to write JavaScript for more complex mathematical operations.
Do calculated PDF forms work in browser PDF viewers?
Basic web browsers often do not fully support PDF JavaScript or complex form calculation scripts. It is highly recommended to instruct users to open the form in dedicated PDF software like Adobe Acrobat or WPS Office for calculations to function properly.




