Fix PDF Form Calculations Showing Zero in Preview or a Browser
Question details
The user needs a PDF form's addition calculation to display the correct result outside its current viewer.

- Product
- Adobe Acrobat, Apple Preview, and web browser PDF viewers
- Device & OS
- macOS; browser device and OS not provided
- Scenario
- A user opens a PDF form containing an addition calculation in Apple Preview or a web browser.
- Observed behavior
- The calculation works in Adobe Acrobat but displays zero in Preview or the browser.
Download the original PDF form to your device and check that Adobe Acrobat or Acrobat Reader is installed. Have the input values ready so you can test the calculation after opening the file.
Open the PDF Form in Adobe Acrobat or Acrobat Reader
Use an Adobe PDF viewer when a form relies on JavaScript calculations that Preview or a browser may not support.
If the form is open in a browser, use its Download or Save button to save the original PDF to your device.
In Adobe Acrobat or Acrobat Reader, choose File > Open and select the downloaded PDF instead of opening it in Preview or the browser.
Enter values in the form's input fields and move to another field. Check whether the calculated total updates.

Use WPS Office for Everyday PDF and Office Files
WPS Office is a free, lightweight alternative with a familiar interface for working with PDFs and Microsoft Office files. Open existing documents to make the transition easier, but use Acrobat or Acrobat Reader for this form's JavaScript calculation.

Frequently Asked Questions
Why does my PDF form show zero in a browser?
The form may use JavaScript that the browser's PDF viewer does not support. Download the original file and open it through File > Open in Adobe Acrobat or Acrobat Reader.
Can I use Apple Preview to calculate the form total?
Preview may not support the form's JavaScript calculation. Open the downloaded PDF in Acrobat or Acrobat Reader and enter the values again to check the total.
What should I do if the total does not update in Acrobat Reader?
Check that you opened the downloaded PDF in Acrobat Reader, enter the input values, and move to another field. If the total still does not update, check Acrobat Reader's JavaScript preferences and contact the form creator.
Will WPS Office fix this PDF's JavaScript calculation?
Do not rely on WPS Office to run this form's JavaScript calculation. Use Acrobat or Acrobat Reader for the calculation, and use WPS Office for everyday PDF and Office file tasks.




