How to Send a PDF Form to an Email Address from a Drop-Down List
Question details
The user needs to configure a fillable PDF form so that the submitted data is sent to a specific email address determined by a user's selection from a drop-down list.

- Product
- Adobe Acrobat
- Device & OS
- not provided
- Scenario
- Creating an interactive PDF form that requires dynamic email routing based on department, category, or recipient selection.
- Observed behavior
- The form must read the selected value from a drop-down field and dynamically assign the corresponding email address to the submit action before executing the submission.
Ensure you are using a PDF editor with advanced form scripting capabilities (like Adobe Acrobat Pro) and that your form already includes a drop-down list field with predefined export values.
Use a Custom JavaScript Action on the Submit Button
Add a JavaScript action to your form's Submit button to retrieve the chosen drop-down value and trigger an email submission to the corresponding address.
By utilizing custom JavaScript, you can dynamically read the value of a specific field right before submission. This allows you to construct a dynamic 'mailto:' link based on the user's input in the drop-down list.
Open your PDF document in Adobe Acrobat Pro, go to the 'Tools' menu, and select 'Prepare Form' to enter the editing workspace.
Right-click the Submit button on your form and select 'Properties' from the context menu to open the Button Properties dialog box.
Navigate to the 'Actions' tab. Under 'Select Trigger', choose 'Mouse Up'. Under 'Select Action', choose 'Run a JavaScript', and then click the 'Add' button.
In the JavaScript Editor, enter a script that retrieves the drop-down value. For example: var email = this.getField('Dropdown1').value; this.submitForm({ cURL: 'mailto:' + email, cSubmitAs: 'PDF' });
Click 'OK' to save the script, close the Properties window, exit Prepare Form mode, and test the form to ensure the email client opens with the correct recipient address.
Fill and Manage PDF Forms with WPS Office
WPS Office provides a fast, lightweight, and comprehensive PDF toolkit that allows you to seamlessly open, fill out, and manage interactive PDF forms without the need for expensive software.
- 1. Download WPS Office: Visit the official WPS website, download the free version of WPS Office, and follow the simple installation instructions.
- 2. Open Your PDF Form: Launch WPS PDF and click 'Open' to browse your computer and load the interactive PDF form you need to fill out.
- 3. Fill Out the Details: Click directly into the form fields to type your information, and click the drop-down menus to select your desired options.
- 4. Save and Submit: Once completed, save your filled PDF locally or click the embedded submit buttons to trigger the form's designated submission action.

Frequently Asked Questions
Can I automatically send the PDF form without prompting the user's email client?
No, for security and privacy reasons, standard PDF viewers will not silently send an email. The JavaScript triggers the user's default desktop email client (such as Outlook or Mail) to draft the message, requiring the user to manually click 'Send'.
Why is the Submit button unresponsive when clicked?
If the button does nothing, there may be a syntax error in your JavaScript code, the field name referenced might be incorrect, or the user's PDF viewer might have JavaScript execution disabled in its security preferences.
Does this dynamic email routing work when viewing PDFs in web browsers?
Built-in PDF viewers in most web browsers (like Chrome, Edge, or Safari) lack support for advanced PDF JavaScript actions. Users must download the file and open it in a dedicated desktop PDF application for the form scripting to function properly.




