Other PDF Issues

Fix PDF Form JavaScript That Does Not Work in Adobe Acrobat Reader for Android

Jason MillerJason Miller Nov 19, 2026 869 views

Question details

The user wants a PDF form field to change color based on its text in Acrobat Reader for Android.

Why PDF Form JavaScript Does Not Work in Acrobat Reader for Android
Product
Adobe Acrobat Reader for Android
Device & OS
Android; desktop OS not provided
Scenario
A PDF form uses JavaScript to change a field's color based on the text entered.
Observed behavior
The color-changing script works in desktop Acrobat but does not work in the Android app.
Before you start

Open the same PDF in desktop Acrobat or Reader and confirm that the field changes color as expected. Check that you are testing the form in Adobe Acrobat Reader for Android, since PDF viewers can support different features.

Solution 1Recommended

Use Desktop Acrobat or Reader for the Scripted Form

Use the desktop form when the automatic color change is essential to the workflow.

Acrobat mobile apps support substantially fewer PDF JavaScript features than desktop Acrobat. A script that changes a field's appearance on a desktop may not run in the Android app.

1
Open the PDF on a computer

Open the form in Adobe Acrobat or Acrobat Reader on the desktop where the script previously worked.

2
Test the field

Enter the relevant text in the form field and check whether its color changes as expected.

3
Complete the form on desktop

Enter the remaining values and use File > Save As to save the completed PDF.

Use Desktop Acrobat or Reader for the Scripted Form
Mobile limitation: Completing the form on desktop does not make its JavaScript run on Android. The appearance of saved fields should be checked in the Android app.
Free Microsoft Office alternative

View PDF Forms and Work with Office Files in WPS Office

WPS Office is a free, lightweight Office alternative with a familiar interface and support for common Microsoft Office formats, making it easier to move between documents and PDF files. It does not fix Acrobat Reader for Android's JavaScript limitations.

Open and view PDF forms alongside your other documentsWork with Microsoft Word, Excel, and PowerPoint formats, including DOCX, XLSX, and PPTXUse a familiar interface for an easier transition from Microsoft OfficeAccess a free, lightweight suite for everyday document work
microsoft office alternative - wps office

Frequently Asked Questions

Why does my field color script work on desktop but not on Android?

Acrobat Reader for Android supports fewer PDF JavaScript features than desktop Acrobat. A script that changes a field's appearance may therefore work on a computer but not in the mobile app.

Can I make the form usable without the color-changing script?

Yes. Edit the form to communicate the field's status through text or instructions rather than relying on a scripted color change, then test it in Acrobat Reader for Android.

Will a simpler JavaScript always work on Android?

No. Simpler logic may be easier to adapt, but mobile support still depends on the features the script uses. Open the revised PDF in the Android app and test every required behavior.

Can WPS Office fix the JavaScript limitation in Acrobat Reader for Android?

No. WPS Office is a separate PDF and Office application and cannot change what Acrobat Reader for Android supports. Do not assume the script will run in another viewer without testing it.