Hello,
I'm having the following JavaScript problem and i'm hoping that someone
here can help me solve it.
In my PDF form is a combo-box containing names and e-mail addresses.
The persons name will be in the "Item" field, and his or her e-mail
address in the "Export value" field.
The PDF form also contains an "E-Mail" button, which uses the "mailto:"
command to mail the entire form to a e-mail address.
What i would like to do is the following.
A user selects a name from the pull-down menu in the combo-box.
When the correct person is selected, the user clicks the "E-Mail"
button in the PDF form.
The entire PDF form has then to be e-mailed to the e-mail address
belonging to the person selected in the combo-box.
After searching Google and this site, i found out that "Doc.MailDoc"
is the correct JavaScript command to do this.
I found some scripts but i didn't get them to work properly. :-(
How do i "link" the selected person / e-mail address from the combo-box
to the "Mailto" command specified in the "E-Mail button" ?
An pre defined subject line and body text would be great to have to.
Who can help me (I'm an JavaScript beginner) getting a sample script
and instructions how to do this ?
I'm using Acrobat Prof. 8.x, Form Designer, not LiveCycle.
Thanks. :-)
Flash
http://acrobatusers.com/tutorials/modifying-livecycle-designer-form-submit-button
http://acrobatusers.com/tutorials/dynamically-setting-submit-e-mail-address
Thom Parker
The source for PDF Scripting Info
www.pdfscripting.com
Very Important - How to Debug Your Script