Other PDF Issues

How to Send a PDF Form to a User-Entered Email Address

John WilsonJohn Wilson Oct 28, 2026 868 views

Question details

The user wants to set up a PDF form so that upon submission, the document or its data is routed to an email address that is dynamically typed into a specific field on the form.

How to Send a PDF Form to an Email Address Entered by the User
Product
PDF
Device & OS
not provided
Scenario
Creating an interactive PDF form that requires dynamic email routing based on user input, rather than a hardcoded email destination.
Observed behavior
The form needs to read the recipient's address directly from a designated email text field using a dynamic mailto submit action.
Before you start

Ensure your PDF editing software supports interactive form creation and JavaScript, as dynamically routing form submissions requires scripting.

Solution 1Recommended

Configure a Dynamic Submit Button Using JavaScript

Use a custom JavaScript action on a submit button to read the email address from a form field and construct a mailto link dynamically.

Standard PDF submit actions usually require a fixed destination URL or email address. To make the destination dynamic, you must use document-level JavaScript attached to the button's action properties.

1
Create the Email Input Field

Open your PDF form in edit mode and insert a text field where the user will type their email address. Name this field specifically, for example, 'UserEmail'.

2
Add a Submit Button

Insert a 'Push Button' form field onto your document to serve as the submit trigger for the user.

3
Access Button Actions

Right-click the newly created button, select 'Properties', and navigate to the 'Actions' tab.

4
Apply JavaScript Action

From the 'Select Action' dropdown, choose 'Run a JavaScript' and click 'Add'.

5
Input the Mailto Script

Enter a script that retrieves the email value and triggers the submit form action. For example: var email = this.getField('UserEmail').value; this.submitForm({cURL: 'mailto:' + email});

Configure a Dynamic Submit Button Using JavaScript
Script Formatting: Ensure the field name in the script exactly matches the text field's name, as JavaScript is case-sensitive.
Advanced PDF Form Editing

Create and Manage Interactive PDF Forms with WPS Office

WPS Office provides robust PDF editing tools, allowing you to seamlessly create fillable forms, insert custom buttons, and manage dynamic submission actions.

  1. 1. Open Your Document: Launch WPS Office and navigate to the 'PDF' tab to open your existing document or create a new one.
  2. 2. Access Form Tools: Click on the 'Form' tab in the top ribbon to reveal the interactive form creation and editing tools.
  3. 3. Design the Form: Use the 'Text Field' and 'Push Button' options to layout your user input areas and submission triggers.
  4. 4. Configure Properties: Double-click your form fields to configure their names, appearance, and required actions.
Easily add interactive text fields, checkboxes, and functional submit buttons to your PDFs.Highly compatible with standard Adobe PDF form formatting and input properties.Lightweight software that handles complex PDF tasks without slowing down your computer.Free to download with an intuitive, user-friendly interface for effortless document management.
microsoft office alternative - wps office

Frequently Asked Questions

Why is my PDF form not sending the email when I click submit?

This usually happens if the user's default email client (like Outlook or Apple Mail) is not configured correctly on their device, or if the specific PDF reader they are using restricts interactive form scripts for security reasons.

Can I send the PDF form data without using an email client?

Yes. Instead of a 'mailto:' link, you can configure the submit button to send the form data to a secure web server URL (HTTP/HTTPS) using a POST request, which processes the data directly in the backend.

How do I make the email field mandatory before submission?

In the text field properties, you can check the 'Required' box. Alternatively, you can add custom validation to your submit button's JavaScript to verify if the email field is empty and alert the user before executing the submission.