How to Add an Email Attachment Button to a PDF Form on Mobile
Question details
The user is trying to make an email attachment button work within a PDF form on a mobile device.

- Product
- PDF Forms
- Device & OS
- Mobile
- Scenario
- A user is filling out an interactive PDF form on a smartphone or tablet and attempts to tap a custom button designed to attach the current file to an email.
- Observed behavior
- The custom form button works perfectly on a desktop PDF reader but fails or remains unresponsive in mobile PDF applications due to limited support for JavaScript and advanced form actions.
Keep in mind that mobile PDF readers have restricted support for interactive form actions and JavaScript compared to desktop applications. Ensure you have a standard email client installed on your mobile device before attempting any workarounds.
Use the Built-in Mobile Share Feature
Since custom JavaScript buttons often fail on mobile platforms, using the native sharing functionality of the mobile PDF reader is the most reliable workaround.
Mobile operating systems handle file attachments and app permissions differently than desktop computers. Because most mobile PDF viewers do not execute complex embedded JavaScript, relying on the operating system's native share sheet guarantees that the filled form can be sent successfully.
Open the filled PDF form in your preferred mobile PDF reader application.
Tap the 'Share' or 'Export' icon, which is usually located at the top or bottom navigation bar of the application.
Choose your preferred email app (e.g., Mail, Gmail, Outlook) from the native share sheet that appears.
Enter the recipient's email address. The PDF will be automatically attached, allowing you to send the form securely.

Provide Instructions for Desktop Users
If your PDF form relies heavily on custom action buttons and JavaScript, it is best to require users to fill it out on a desktop computer.
Use WPS Office for Seamless PDF Form Filling and Sharing
WPS Office provides a robust mobile and desktop PDF reader that makes viewing, filling, and sharing PDF forms effortless. Instead of struggling with unsupported JavaScript buttons, you can easily share your completed forms directly through the WPS Office interface.
- 1. Open your PDF form: Launch the WPS Office mobile app and open the PDF form you need to complete.
- 2. Fill the form fields: Tap on the interactive fields to type in your information using the mobile-friendly PDF viewing mode.
- 3. Share via email: Tap the 'Share' icon located in the bottom toolbar, select 'Email', and choose your email client to send the completed document instantly.

Frequently Asked Questions
Why does my PDF submit button work on PC but not on my phone?
Mobile PDF viewers typically lack full support for Adobe's proprietary JavaScript and advanced form actions due to platform restrictions and security policies. This causes interactive custom buttons to become unresponsive on mobile devices.
Can I force a mobile PDF app to run JavaScript?
No, JavaScript support is determined by the developers of the specific mobile PDF application. Most mobile readers disable or heavily limit it to prioritize app performance and security.
How do I create an email button for desktop PDFs?
In a desktop PDF editor, use the Form tools to add a Button, right-click to access its Properties, select the Actions tab, and add a 'Submit a form' action configured with a 'mailto:youraddress@example.com' URL.
Is there any mobile PDF app that supports all desktop form features?
While premium mobile apps support many features, no mobile app perfectly replicates desktop JavaScript execution. Relying on the device's native sharing capabilities is the recommended best practice for mobile forms.




