PDF Editing Issues

How to Fix Tax Calculation Showing Zero After Resetting a PDF Form

John WilsonJohn Wilson Oct 28, 2026 869 views

Question details

The user needs to fix a PDF form where the tax calculation stops working and shows zero after the form is reset, despite other calculations working normally.

How to Fix Tax Calculation Showing Zero After Resetting a PDF Form
Product
Adobe Acrobat Pro DC
Device & OS
not provided
Scenario
Resetting a fillable PDF form that contains automatic tax and subtotal calculations.
Observed behavior
The tax calculation works initially but returns zero after the form is reset, while other calculations continue to function.
Before you start

Ensure you have editing permissions for the PDF form and access to the form field properties or the prepare form tool in your PDF editor.

Solution 1Recommended

Set a Default Value for the Tax Rate Field

Prevent the tax rate from being cleared during a form reset by assigning it a permanent default value.

When a PDF form is reset, all user-input fields are cleared. If your tax rate is stored in a hidden or locked field without a default value, the reset action clears it to zero, breaking the calculation.

1
Open form field properties

Enter the 'Prepare Form' mode in your PDF editor, right-click the tax rate field, and select 'Properties'.

2
Navigate to the Options tab

In the Properties dialog box, click on the 'Options' tab at the top.

3
Set the default value

Enter your desired tax rate (e.g., 13 or 0.13 depending on your script) into the 'Default Value' text box.

4
Save and test

Click 'Close', save the PDF, and click the form's reset button to verify that the tax rate persists and calculates correctly.

Set a Default Value for the Tax Rate Field
Testing Tip: Always test the calculation by entering sample numbers into the subtotal fields after hitting the reset button.
Edit PDF Forms Easily

Manage and Fill PDF Forms with WPS Office

WPS Office provides a comprehensive PDF editor that allows you to easily fill, edit, and manage interactive PDF forms without dealing with complex calculation scripts.

  1. 1. Open your PDF file: Launch WPS Office and open the PDF form you need to fill or edit.
  2. 2. Access the Form tools: Navigate to the 'Form' tab on the top ribbon to view all interactive fields.
  3. 3. Fill and calculate: Enter your data into the form fields. Built-in calculations will update automatically based on the document presets.
  4. 4. Save the document: Click 'Save' or press Ctrl+S to preserve your form data and calculation results.
Seamlessly fill, edit, and manage interactive PDF form fields.Fully compatible with Microsoft Office formats (Word, Excel, PowerPoint) and standard Adobe PDFs.Lightweight, all-in-one suite available for free on multiple platforms.
microsoft office alternative - wps office

Frequently Asked Questions

Why do PDF calculations sometimes show zero after a form reset?

Resetting a form clears all user-input data, including hidden or referenced fields like tax rates. If a calculation depends on a cleared field that doesn't have a configured Default Value, the result will output as zero.

How does the calculation order affect PDF form totals?

PDF forms process calculations sequentially. If a Total field relies on a Subtotal field, but the Total is set to calculate first in the Calculation Order settings, it will use the Subtotal's empty state (zero) instead of the updated value.

Can I lock the tax rate field so it cannot be reset?

You can set a form field to 'Read Only' in its Properties menu to prevent manual user edits. However, a full form reset action executed by a button might still clear its value unless you have explicitly defined a Default Value in the Options tab.