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

Email copy of form to self

ttran
Registered: Nov 10 2008
Posts: 3

Using Livecycle Designer 8.2, how do I setup a form to automatically include the sender email address in MS Outlook 2003?

I have a form created with an email button, when click, sent the form as an attachment. This form is being distributed in a network environment, so after a user fill out the form, they will click email button which will automatically email them a copy of the attach form. In other words, when a user email the form, it should automatically populate the user email address in the CC portion. We're using MS Outlook 2003. Thank you in advanced.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
The user's email address, and other information, is protected by Acrobat. Scripts within a PDF cannot generally access this information. But you have a couple of options.

1. Have the user fill out thier email on the form, then modify the submit with this information.

2. Write a Folder Level trusted function for sending the email. The trusted function can access the user's "Identity" object, which contains thier email if they've filled it out.

To modify the submit information you have two options. The easiest is to use one of the AcroForm JavaScript email functions. With these functions you can build the parts of the email (addresses, subject, and body) at runtime in code. If you are using the "LiveCyle" submit or email button, then the email hard coded into the underlying XML can be modified on the MouseDown action.

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/]http://www.adobe.com/devnet/acrobat/[/url]

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