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

Need a form button that instantly sends an email when clicked...

kyphote
Registered: Feb 2 2010
Posts: 6

I've created a form in Acrobat Pro 9 that is essentially a checklist outlining steps employees need to follow when relocating. At the end of the form, I'd like to include a button that says "CLICK HERE TO SEND CONFIRMATION THAT YOU HAVE COMPLETED THESE STEPS." Upon clicking, a confirmation notice would be instantly and automatically emailed to a pre-determined party (someone in HR). The employee would only receive a popup that says "THANKS FOR COMPLETING THESE STEPS AND SENDING CONFIRMATION."

Is this possible? If not, what would be the next best thing? Appreciate your insight!

My Product Information:
Acrobat Pro 9.2, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Of course this is possible, and a popular topic. You'll find hundreds of posts on this forum about emailing, search in the tutorials for "e-mail" and "email", you could also look in the help files for Acrobat and/or LiveCycle, whichever your using to build your form.

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

Godfather
Registered: Feb 4 2010
Posts: 20
Hi,
I say with respect, and I mean respect and also as a first time user myself, that your reply is a little unfair.
A specific question was asked and you ask him to wade through hundreds of email posts.
Although you are right, it could still take hours searching through the posts and still not find an answer.
At least you could supply a link to his specific question. Until at least we get used to this forum.
mingdichen
Registered: Jan 7 2010
Posts: 29
Please try this two button method:
1) "Click Here" Button (visible)
2) "Email" Button (invisible)

1) At Click Event for the "Click Here" button:

Email.event__click.submit.target = "mailto:"+"Your HR Dept address"+"?subject=" Your subject ";

Email.execEvent("click");


xfa.host.messageBox("THANKS FOR COMPLETING THESE STEPS AND SENDING CONFIRMATION."
"", 3, 0);

2) "Email" Button: it will be a real submit button and will submit pdf or xml file


Hope it works for you. And, Thomp is correct that there are so many ways to do this.
cgersh
Registered: Sep 17 2007
Posts: 1
I can't seem to make a Submit button work when it is viewed in Internet Explorer. If a user downloads and saves the form, the button will work as desired, attaching the completed form to an email message, but not if viewed in a browser. (It does work in Safari on my Mac.) I have enabled usage rights in Reader. I work on a Mac using version 8.2, so a LiveCycle solution isn't practical.