Fix PDF Form JavaScript Not Working in Acrobat Mobile
Question details
Users are unable to get JavaScript embedded in an interactive PDF form to execute on mobile devices, preventing features like hiding text fields when a checkbox is selected.

- Product
- Adobe Acrobat Reader Mobile
- Device & OS
- iOS / Android
- Scenario
- Filling out an interactive PDF form that utilizes JavaScript for dynamic field visibility on a smartphone or tablet.
- Observed behavior
- The JavaScript works perfectly on a desktop computer, but fails to trigger on mobile devices, leaving conditional text fields visible despite checkbox selections.
Ensure your mobile PDF reader is updated to the latest version from the App Store or Google Play, and verify that the original PDF document isn't restricted by security permissions.
Redesign the Form Without Mobile-Unsupported JavaScript
Since mobile PDF readers lack full JavaScript API support, modifying the form to use standard fields without complex scripts ensures cross-platform compatibility.
Acrobat Reader Mobile does not support every desktop Acrobat JavaScript action or API. Relying on complex events like dynamic field visibility will often fail on mobile environments.
Transfer the interactive PDF to a computer and open it using a desktop-grade PDF editor like WPS Office or Adobe Acrobat.
Navigate to the form editing mode, right-click the checkbox, select Properties, and remove the custom JavaScript assigned to the 'Mouse Up' or 'Change' action.
Instead of dynamically hiding fields, reorganize the document layout to clearly instruct mobile users which sections to fill out based on their checkbox selection.
Save the modified PDF and transfer it back to your mobile device to verify that the form can be completed without script errors.

Fill the Interactive Form on a Desktop Computer
Bypass the mobile limitation entirely by completing the JavaScript-heavy form on a desktop operating system.
Manage Interactive PDF Forms Seamlessly with WPS Office
When mobile apps fail to run complex PDF scripts, use WPS Office on your desktop to fill, edit, and manage interactive PDF forms effortlessly. It provides a robust, highly compatible environment for handling professional PDF documents.
- 1. Open PDF in WPS: Launch WPS Office on your computer and open the interactive PDF form.
- 2. Fill Out the Form: Click on the form fields, checkboxes, and drop-downs to input your data directly. Desktop execution ensures all visibility scripts run correctly.
- 3. Save and Export: Once completed, save the document or export it as a flattened PDF, ensuring it displays correctly on all mobile devices going forward.

Frequently Asked Questions
Why does my PDF form JavaScript work on PC but not on mobile?
Mobile PDF readers, including Acrobat Mobile, have limited support for the full JavaScript API due to platform constraints, performance optimization, and security reasons. Complex scripts like dynamic field visibility are often unsupported.
How can I make my PDF forms more mobile-friendly?
Avoid using JavaScript for core form functionality. Stick to standard text fields, checkboxes, and radio buttons. Design the visual layout so that instructions are clear without relying on hiding or showing fields dynamically.
Is there a mobile PDF app that supports all desktop JavaScript functions?
No current mobile application supports 100% of the desktop PDF JavaScript API. It is best practice to test your specific scripts across different PDF readers on both iOS and Android if you must use basic scripts.
Can I remove the JavaScript from a PDF using my phone?
Removing JavaScript and editing form field properties requires advanced PDF editing tools typically found only on desktop applications. You will need to transfer the file to a PC or Mac to make these structural changes.




