How to Fix Acrobat DC Calculation Fields Not Working
Question details
The user is unable to retain selected fields for a calculated sum or maintain custom JavaScript calculation settings in an interactive PDF.

- Product
- Adobe Acrobat DC
- Device & OS
- not provided
- Scenario
- Creating or modifying an interactive PDF form, specifically when using the Pick Fields option or adding custom JavaScript calculations.
- Observed behavior
- Selected fields for calculated sums do not save. Additionally, the custom JavaScript window disappears briefly, and the calculation settings fail to populate or save in the field properties.
Before modifying field properties, verify whether your PDF form was exported from InDesign, as forms exported from design software sometimes carry over hidden formatting that interferes with Acrobat calculations.
Remove Spaces and Punctuation from Form Field Names
The built-in Sum function in Acrobat requires strict naming conventions. Spaces or punctuation in field names can cause the calculation settings to fail.
Acrobat's calculation engine often struggles to parse field names that contain special characters or spaces. Renaming these fields to use a strict alphanumeric format is the most common resolution for disappearing field selections.
Open your interactive PDF in Acrobat DC, go to the Tools menu, and select Prepare Form.
Right-click on the problematic fields involved in your calculation and select Properties to view their names.
Edit the field names to ensure they contain absolutely no spaces, punctuation marks, or special characters. Use a simple letter-number format (e.g., 'A1', 'Total1').
Save your document, completely exit Acrobat DC, reopen the application, and attempt to set up your calculated sum again.

Force Interface Refresh with a Dummy Field
Acrobat DC has a known interface bug where calculation settings visually disappear. Interacting with a completely different field can force the interface to refresh and restore the settings.
Update Software and Recreate Affected Fields
If custom JavaScript windows continue to close instantly without saving, the specific field elements may be corrupted.
Manage Documents Flawlessly with WPS Office
If you are tired of dealing with complex bugs and calculation glitches in heavy PDF and document editors, try WPS Office. It provides a lightweight, highly compatible, and free alternative to manage all your document workflows, including advanced PDF editing.

Frequently Asked Questions
Why do my selected calculation fields disappear in Acrobat DC?
This commonly happens if the form fields involved in the calculation have spaces, punctuation, or special characters in their names. Acrobat's built-in calculation functions require strict alphanumeric naming conventions to process properly.
How do I fix the JavaScript window closing instantly in PDF forms?
This is often caused by a known UI bug in certain versions of Acrobat DC. You can try to force an interface refresh by adding a basic calculation to a new, temporary text field, and then returning to the original field. If that fails, updating the software and recreating the form field from scratch usually resolves it.
Can I use numbers in my PDF form field names?
Yes. Using a combination of letters and numbers (such as 'A1', 'Total1', or 'Subtotal2') is highly recommended. It avoids calculation errors caused by special characters and ensures compatibility with form calculation functions.




