Fix Adobe Acrobat Reader iPad app.alert Yes and No Buttons Not Working
Question details
A user's PDF form relies on JavaScript app.alert, app.response, and mailDoc, but the alert only displays an OK button instead of the required Yes/No choices on the iPad version of Adobe Acrobat Reader.

- Product
- Adobe Acrobat Reader
- Device & OS
- iPad
- Scenario
- Trying to confirm a PDF form submission and request an email address using a JavaScript alert on a mobile device.
- Observed behavior
- The app.alert dialog only renders an OK button, completely breaking the Yes/No confirmation workflow that normally functions correctly in desktop Acrobat.
Ensure your iPad is running the latest version of Adobe Acrobat Reader, as updates occasionally expand mobile API support. However, keep in mind that mobile PDF readers generally employ restricted JavaScript engines compared to their desktop counterparts.
Redesign the PDF Form for Mobile Compatibility
Since the mobile Acrobat JavaScript API has limited dialog support, replacing the script-based alerts with native form fields ensures reliable functionality across all devices.
The iPad version of Adobe Acrobat Reader does not fully support the button configuration parameters required to render Yes and No choices in an app.alert dialog. To ensure your submission workflow functions correctly on mobile devices, you must adapt your PDF design.
Launch Adobe Acrobat Pro or your preferred advanced PDF editor on your Windows or Mac computer.
Navigate to the interactive button or script triggering the app.alert and delete the client-side JavaScript.
Add standard form elements, such as a checkbox labeled 'Confirm Submission' or dedicated visible 'Yes' and 'No' buttons directly onto the document.
Set your submission action to trigger only when the specific confirmation field or button is interacted with.

Mandate Desktop Acrobat for Complex Workflows
If redesigning the form is not feasible and advanced JavaScript is mandatory, you must direct users to complete the form on a desktop platform.
Try WPS Office for Seamless PDF Handling
If you are encountering frustrating limitations with PDF forms and compatibility across different devices, consider switching to WPS Office. It provides a lightweight, highly compatible environment for viewing, editing, and managing your PDFs alongside Word, Excel, and PowerPoint files.
- 1. Visit the official site: Go to the WPS Office website on your computer or mobile device.
- 2. Download the app: Select the appropriate version for your operating system and complete the free installation.
- 3. Open your documents: Launch WPS Office to view and edit your PDFs and Office files with ease.

Frequently Asked Questions
Why do PDF JavaScript alerts work differently on an iPad?
Mobile PDF applications use scaled-down JavaScript engines to optimize performance and enforce strict sandboxing security. This results in limited support for interactive dialogs like app.alert, stripping out advanced button parameters.
Can I use app.response or mailDoc reliably on iOS?
No. Advanced functions like app.response and mailDoc are frequently restricted or function inconsistently on mobile platforms. It is heavily recommended to use server-side form submission methods rather than relying on client-side mail handling.
Are there any mobile PDF viewers that fully support desktop JavaScript features?
Currently, almost all mobile PDF readers, including official ones, have limited JavaScript capabilities compared to desktop versions. If your workflow requires complex scripting, desktop software remains the industry standard requirement.




