Skip to main content
Sandcast
Participating Frequently
November 15, 2020
Answered

Can the standard message from "Submit Form" be changed?

  • November 15, 2020
  • 4 replies
  • 2828 views

On a Submit Button, the Action property is set to "Submit a form." Edit does not let me change the message returned in the resulting email. The email returns:

 

Form Returned: Procedure Review Form - 2020 1115 TD Rev 0.pdf

 

The attached file is the filled-out form. Please open it to review the data.

 

I need to include a reminder to the user (email sender) to "attach associated procedure document" to be returned with the filled form. I cannot find where the above standard message is being generated.

Correct answer jctremblay

What you see is the default text. You can specifiy a custom subject, and also body content if you want. You need to specify it in the button that send the form.

But if you only want to alert the users you can add a javascript along with your send form button.

app.alert("Attach associated procedure document");

 

mailto:info@youremail.com?subject=your custom subject

mailto:info@youremail.com?subject=your custom subject&body=your custom body content.

 

4 replies

JR Boulay
Community Expert
April 27, 2025

[MOVED TO THE ACROBAT DISCUSSIONS]

Acrobate du PDF, InDesigner et Photoshopographe
JR Boulay
Community Expert
November 15, 2020

Acrobate du PDF, InDesigner et Photoshopographe
Sandcast
SandcastAuthor
Participating Frequently
November 16, 2020

JR and Jean-Claude! As a newbie, I misapplied your direction. Jean-Claude, you led to my success with this form. Ultimately, I did exactly what JR's image shows. It worked. I subsequently modified it for my purpose. As a bonus, I've learned how to add an alert and incorporated it as well. I really appreciate the patience and help you provided in this forum. I learned much more than meets the eye from the aid you provided. Thank you! All is resolved.

New Participant
April 24, 2025

Can the font size and made bold be changed in the default message from Submit Form?

Sandcast
SandcastAuthor
Participating Frequently
November 15, 2020

Under "Actions," I chose "Run a JavaScript." I select "Add" and the JavaScript editor opens. I copied and pasted the script you provided:

app.alert("Attach associated procedure document");

 

mailto:info@youremail.com?subject=your custom subject

mailto:info@youremail.com?subject=your custom subject&body=your custom body content.

I made no edits, selected ok, and an error message results. It says "SyntaxError: missing; before statement 5: at line 6"

I tried adding semi-colon at line 6, but it does not resolve. The message remains the same. Any ideas? Thank you!

jctremblay
Community Expert
November 15, 2020

You’re trying toput all this is a javascript. You need to have two Actions.
First is the alert using a Javascript, the second is your submit form action.

Sandcast
SandcastAuthor
Participating Frequently
November 15, 2020

Jean-Claude, thank you but I cannot get the script to run. I deleted the "submit form" action. Selected "Run a

JavaScript," pressed "Add," and pasted your script exactly. When I press OK, the image below results. I do not find a way to resolve the script error. The error message and script are shown below:

 

 

 

 

 

 

 

jctremblay
jctremblayCorrect answer
Community Expert
November 15, 2020

What you see is the default text. You can specifiy a custom subject, and also body content if you want. You need to specify it in the button that send the form.

But if you only want to alert the users you can add a javascript along with your send form button.

app.alert("Attach associated procedure document");

 

mailto:info@youremail.com?subject=your custom subject

mailto:info@youremail.com?subject=your custom subject&body=your custom body content.