How to Fix PDF Form Fields Not Working in Email Subject on iPad
Question details
The user wants to automatically populate an email subject line with data from PDF form fields on an iPad, but the JavaScript fails to execute.

- Product
- PDF Viewer
- Device & OS
- iPad
- Scenario
- Attempting to submit a filled PDF form via email on a mobile device where JavaScript is expected to extract entered names and phone numbers into the email subject.
- Observed behavior
- The JavaScript does not execute in the iPad or mobile Acrobat experience, causing the email subject to remain blank or display a generic title instead of the entered form data.
Verify exactly which PDF application your mobile recipients are using, as JavaScript execution capabilities vary drastically across different iOS and iPadOS PDF readers.
Use an Advanced iPad PDF App with Scripting Support
Standard mobile PDF readers restrict JavaScript execution, so switching to a premium PDF application that specifically supports advanced scripting can resolve the issue.
Most mobile PDF viewers, including the standard mobile version of Adobe Reader, do not support Acrobat JavaScript for form submission due to mobile OS security sandboxing. To run form scripts on an iPad, you must use specific third-party applications engineered for complex PDF scripting.
Navigate to the iPad App Store and download an advanced PDF application known for robust JavaScript support, such as PDF Expert by Readdle.
Locate your PDF form, tap the 'Share' icon, and select 'Open in...' to route the document to your newly installed application.
Fill in the name and phone number fields, trigger the submission action, and verify that the email drafts with the correctly populated subject line.

Convert the PDF to an Online Web Form
Bypass mobile PDF limitations entirely by converting your document into a web-based form.
Fill and Share PDF Forms Seamlessly with WPS Office
While complex Acrobat JavaScript may struggle on mobile devices, WPS Office provides a reliable, lightweight alternative for filling, managing, and securely sharing standard PDF forms directly from your iPad without frustrating compatibility headaches.
- 1. Install WPS Office: Download and install WPS Office for free from the iPad App Store.
- 2. Open and Fill Your Form: Open your PDF document within WPS Office and tap on the form fields to securely enter your data.
- 3. Share via Email: Tap the 'Share' button within the document view and select 'Email' to manually send the filled form to your recipient.

Frequently Asked Questions
Why doesn't Adobe Acrobat JavaScript work on my iPad?
Mobile operating systems like iPadOS impose strict security and resource sandboxing. This prevents most mobile PDF viewers from executing complex, desktop-level JavaScript tasks like automated email drafting or background data processing.
Can I auto-populate the email body using PDF forms on a mobile device?
No. Just like the email subject line, auto-populating the email body via PDF JavaScript relies on the same scripting engine that is unsupported in standard mobile PDF viewers. Standard manual sharing or web forms are recommended.
How can I make my PDF forms 100% compatible for mobile users?
To ensure maximum compatibility across all devices, avoid using JavaScript-based submission buttons. Instead, use standard interactive text fields and instruct your users to manually save the document and attach it to an email, or transition the workflow to an online web form.




