These forums are now Read Only. If you have an Acrobat question, ask questions and get help from one of our experts.

Submit Form Email

phorsley
Registered: Nov 2 2007
Posts: 35
Answered

Is it possible to change the Body text in the email when you hit the submit button
in a completed form.
At present it says:

Instructions to add this form to a data set:
1. Double-click the attachment.
2. Acrobat will prompt you to select a data set.

thanks

Paul

My Product Information:
Acrobat Pro 8.1.2, Macintosh
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Read this article, it explains how all the email parameters can be controled programatically.

http://www.acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

lasebedo
Registered: Jun 30 2009
Posts: 1
How do I get the button to work, I have done all the changes and it still does not work for me. I am working with Adobe LiveCycle Designer
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You may still have an error in the code, even though you made the suggested XFA changes in the article. For example there may be an error in the SOM path to one of your fields.

The first thing to check is the Console Window (See the links below). If there were any errors they will be reported There. Take a look and lets us know what you see.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

MelSanders
Registered: Oct 12 2009
Posts: 6
Is there a way to submit the PDF form to more than one email?

I have tried entering into the URL field
mailto:name [at] address [dot] edu; 2ndname [at] address [dot] edu
and mailto:name [at] address [dot] edu
mailto:2ndname [at] address [dot] eduNeither work properly.
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You should have posted this to a new thread:~!

The standard is to separate email address with a semicolon so you're first option should have worked. I copied it verbatim from the post and it works for me.

What exactly is the problem?

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

MelSanders
Registered: Oct 12 2009
Posts: 6
Sorry about not posting a new thread.

When I test the form with the two emails, it works properly for me. We have the form posted on an intranet. When my co-worker tests the form out they get one of the email addresses shown twice in the To: field rather than one of each of the email addresses.

Any suggestions on how to fix this?



Thank you,

Melissa
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Wow, this sounds like a bug in your co-workers email client. I have two suggestions

1. remove all spaces in the email line
2. Have other people, who have different email clients try it out.

Thom Parker
The source for PDF Scripting Info
[url=http://www.pdfScripting.com]pdfscripting.com[/url]

The Acrobat JavaScript Reference, Use it Early and Often
[url=http://www.adobe.com/devnet/acrobat/javascript.php]http://www.adobe.com/devnet/acrobat/javascript.php[/url]

Then most important JavaScript Development tool in Acrobat
[url=http://www.pdfscripting.com/public/34.cfm#JSIntro][b]The Console Window (Video tutorial)[/b][/url]
[url=http://www.acrobatusers.com/tutorials/2006/javascript_console][b]The Console Window(article)[/b][/url]

Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script

MelSanders
Registered: Oct 12 2009
Posts: 6
Thank you!

Now I guess I need to look for a work around for this bug.




~ Melissa