How to Remove Automatic Email Body from a PDF Submit Button
Question details
The user needs to prevent a PDF form's submit button from automatically adding default text into the body of the generated email.

- Product
- Device & OS
- not provided
- Scenario
- Creating or editing a fillable PDF form with a submit button linked to a mailto address.
- Observed behavior
- When the submit button is clicked, the generated email contains unwanted automatic text in the email body.
Ensure you have a PDF editing software installed that allows modifying interactive form field properties and actions, such as Adobe Acrobat or WPS Office PDF.
Edit the Submit Action to Remove the Body Parameter
Modify the mailto address in the submit button's properties to exclude the default body parameter.
A standard mailto address can include parameters for the subject and body. By specifically editing the submission URL, you can prevent the email client from automatically generating body text.
Open the PDF document in edit mode, right-click the submit button, and select 'Properties' from the context menu.
Navigate to the 'Actions' tab within the Properties dialog and select the existing 'Submit a form' or 'Open a web link' action from the Actions list.
Click the 'Edit' button and locate the URL field. Ensure the address format is set up properly (e.g., mailto:email@example.com?subject=YourSubject) and carefully delete any '&body=...' parameter if it is present.
Click 'OK' to save the modified action, close the properties dialog, and then save the PDF document to apply the updates.

Use a JavaScript Submission Script
Implement a custom JavaScript action for advanced control over the email's recipient, subject, and body fields, which completely overrides automatic formatting.
Edit PDF Forms and Buttons Seamlessly with WPS PDF
WPS Office provides a comprehensive PDF editor that allows you to effortlessly create, edit, and manage interactive PDF forms, including configuring submit buttons and form actions.
- 1. Open WPS PDF: Launch WPS Office and open your PDF document using the built-in WPS PDF tool.
- 2. Enter Form Editing Mode: Navigate to the 'Form' tab on the top ribbon to access all interactive field tools, including buttons and text fields.
- 3. Modify the Button: Select your submit button, access its properties, and configure the hyperlink or action securely to suit your submission needs.

Frequently Asked Questions
Why does my PDF submit button add default text to the email body?
When a submit button is configured using a standard 'mailto:' action, the user's default email client or the PDF reader itself may automatically insert standard submission text. This behavior can be overridden by explicitly setting a blank body parameter or utilizing a custom JavaScript submission action.
Can I customize the email subject line when submitting a PDF?
Yes, you can easily customize the email's subject line by appending the '?subject=Your Subject Here' parameter directly into the mailto address URL within the button's action properties.
Does the mailto action work with web-based email services?
The mailto action relies on the operating system's default desktop email client (such as Outlook, Thunderbird, or Apple Mail) to generate the message. If a user relies solely on webmail without having a default client configured on their system, clicking the submit button may fail to open a new email draft.




