Fix PDF Form Drop-Down Calculations Not Working After Emailing
Question details
The user needs to understand why drop-down totals and calculations in a PDF form work in preview but fail to calculate after the document is emailed and opened.

- Product
- Device & OS
- not provided
- Scenario
- Testing an interactive PDF form with JavaScript calculations after sending it via email.
- Observed behavior
- Form calculations work correctly during the creation preview but stop functioning when the emailed PDF is opened by the recipient.
Ensure the recipient has saved the emailed PDF attachment to their local computer drive rather than previewing it directly within their email client.
Open the PDF in a Compatible Desktop Reader
Interactive form calculations require a PDF viewer that fully supports JavaScript, which many browsers and email clients lack.
Many email clients (like Outlook or Gmail) and web browsers (like Chrome or Edge) use built-in PDF viewers that do not support complex JavaScript calculations. This causes drop-down totals to break.
To ensure the form functions as intended, the document must be downloaded and opened in a dedicated PDF application.
Save the PDF attachment from the email directly to your computer's local drive, such as the Desktop or Documents folder.
Right-click the downloaded file, select 'Open with', and choose a fully-featured PDF editor or reader rather than a web browser.
Interact with the drop-down menus in the form to verify that the totals calculate correctly in the desktop application.

Verify Field Names and Calculation Scripts
Ensure that the calculation scripts and field names are correctly configured in the original PDF form without syntax errors.
Fill and Manage Interactive PDF Forms with WPS Office
WPS PDF provides robust support for viewing, filling, and managing interactive PDF forms. With comprehensive compatibility, you can ensure your form fields, drop-downs, and basic calculations function smoothly.
- 1. Install WPS Office: Download and install WPS Office from the official website to access the comprehensive PDF suite.
- 2. Open the PDF Form: Launch WPS PDF and open your downloaded interactive PDF document.
- 3. Fill the Form: Click on the drop-down fields or text boxes to input your data; standard calculations will update automatically based on the form's logic.
- 4. Save and Share: Save the filled form to your local drive and easily share it via email directly from the application.

Frequently Asked Questions
Why do PDF calculations work in preview but not when emailed?
When you preview a form during creation, the editor fully supports its own calculation scripts. However, when emailed, the recipient often opens the file in a browser or basic email previewer that lacks JavaScript support, causing the calculations to fail.
How can I ensure recipients see the calculated totals?
Instruct your recipients to download the PDF attachment to their computer and open it using a dedicated PDF reader, rather than viewing it in their web browser or email client.
Are PDF form calculations supported on mobile devices?
Support on mobile devices is highly dependent on the app used. Default mail apps and basic PDF viewers on iOS and Android typically do not support JavaScript calculations. A specialized PDF editor app is usually required.




