Fix PDF Form Calculations Not Working on macOS Catalina
Question details
PDF form calculations fail to add values on a Mac running Catalina, despite working correctly on older macOS versions like Mojave.

- Product
- PDF Reader
- Device & OS
- macOS Catalina
- Scenario
- Filling out a fillable contract form on macOS Catalina.
- Observed behavior
- The form totals and values no longer calculate or update automatically upon data entry.
Verify whether you are currently using Apple's built-in Preview app or a dedicated PDF reader, as native macOS tools often lack full support for advanced PDF JavaScript.
Use a Dedicated PDF Reader Like Adobe Acrobat or WPS PDF
Switching to a fully featured PDF reader ensures that PDF JavaScript calculations are properly executed, as Apple's Preview app often struggles with these scripts on Catalina.
PDF JavaScript calculations behave differently across applications. Apple's built-in Preview app on macOS Catalina frequently drops support for advanced form calculations that worked in Mojave.
Download and install the current desktop version of Adobe Acrobat Reader, WPS Office, or another dedicated PDF application.
Right-click your fillable contract form file in Finder and select 'Open With' from the context menu.
Choose the newly installed PDF application instead of the default Mac Preview app.
Input sample data into the form fields to verify that the totals calculate correctly.

Enable JavaScript in Your PDF Application
Ensure that JavaScript execution is explicitly enabled in your PDF reader's preferences, as it is strictly required for form calculations to function.
Easily Fill and Calculate PDF Forms with WPS Office
WPS Office offers a robust built-in PDF reader and editor that fully supports fillable forms, including complex JavaScript calculations that may fail in basic viewers on macOS Catalina.
- 1. Install WPS Office for Mac: Download and install WPS Office from the official website onto your Mac.
- 2. Open the PDF document: Launch WPS Office and drag your fillable PDF form directly into the application workspace.
- 3. Fill the form: Click on the designated form fields to enter your data; numerical totals will compute automatically.
- 4. Save your progress: Click 'Save' or press 'Command + S' to safely store your calculated PDF document.

Frequently Asked Questions
Why did my PDF form calculate fine on macOS Mojave but not Catalina?
macOS Catalina updated the native Preview application, significantly changing how it handles PDF JavaScript. Form calculation features that worked seamlessly in Mojave's Preview may no longer be supported, requiring a dedicated third-party PDF reader.
Can I modify the PDF form script to work on Mac Preview?
It is extremely difficult to optimize complex JavaScript to work reliably within Mac Preview. Best practice dictates instructing users to fill out interactive forms using standard software like Adobe Acrobat or WPS PDF instead.
What if the form calculations still don't work in a dedicated PDF reader?
If the fillable form fails to calculate in Adobe Acrobat or WPS PDF, the issue likely lies within the PDF's embedded JavaScript code. The original creator of the form will need to debug the scripts for syntax errors or unsupported functions.




