PDF Opening Issues

Fix PDF Form JavaScript Date Formatting in Adobe Acrobat Reader

Algirdas JasaitisAlgirdas Jasaitis Nov 25, 2026 868 views

Question details

The user needs a PDF form's JavaScript date or time formatting to work consistently across computers.

Fix PDF Form JavaScript Date Formatting in Adobe Acrobat Reader
Product
Adobe Acrobat Reader and Adobe Acrobat
Device & OS
not provided
Scenario
A user opens a PDF form that uses JavaScript to format date or time fields.
Observed behavior
The formatting works on most computers but fails on one device, potentially because it is opened in a browser PDF viewer.
Before you start

Check which application opens the form on the affected computer and compare it with the application used on a working computer. Make sure the PDF comes from a trusted source before allowing it to run scripts.

Solution 1Recommended

Open the PDF form in Adobe Acrobat Reader or Acrobat

Use the desktop Acrobat application when a browser viewer does not run the form's JavaScript consistently.

1
Save the PDF locally

In the browser PDF viewer, select Download or Save to store the form on the computer.

2
Open it in Acrobat

Launch Adobe Acrobat Reader or Acrobat, select File > Open, and choose the saved PDF. Install Adobe Acrobat Reader first if neither desktop application is available.

3
Test the form fields

Enter a date or time in the affected form field and check whether the expected formatting appears.

4
Compare applications

Ask a user whose form works to check the application used to open it. Confirm that the affected user is also using the desktop Acrobat application, not a browser tab.

Open the PDF form in Adobe Acrobat Reader or Acrobat
Browser support varies: Browser PDF viewers may not support Acrobat JavaScript consistently. Opening the same file in Acrobat Reader or Acrobat can help identify whether the viewer is the cause.
Free Microsoft Office alternative

Use WPS Office for everyday PDF and document work

WPS Office is a free, lightweight alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move existing files. For this form's Acrobat JavaScript, use Adobe Acrobat Reader or Acrobat; WPS is not a confirmed fix for the script.

Open and view PDFs alongside office documentsCompatible with Microsoft Word, Excel, and PowerPoint formatsFamiliar interface for working with existing filesFree and lightweight for everyday document tasks
microsoft office alternative - wps office

Frequently Asked Questions

Why does the PDF form work on one computer but not another?

The computers may be using different PDF viewers. Browser viewers can handle Acrobat JavaScript differently, so compare the apps used and try the desktop Adobe Acrobat Reader or Acrobat application.

How do I open the form outside Microsoft Edge?

Select Download or Save in Edge's PDF viewer, then open Adobe Acrobat Reader or Acrobat and use File > Open to select the saved PDF.

Where can I check whether Acrobat JavaScript is enabled?

In Acrobat Reader or Acrobat, open Edit > Preferences on Windows or Acrobat > Settings on macOS, then select JavaScript. Enable Acrobat JavaScript only when appropriate for trusted files.

Does WPS Office fix Acrobat JavaScript in PDF forms?

WPS Office can be used for everyday PDF viewing, but it is not a confirmed fix for Acrobat-specific form JavaScript. Use Adobe Acrobat Reader or Acrobat to test this form.