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

Send entire form as PDF not FDF

kbedward
Registered: Nov 9 2007
Posts: 29

I have the following script on a submit button in a form I created with Acrobat Forms 8.

this.submitForm("mailto:recipient,,?"
+ "&subject=Approval Request"
);

The script works fine except that the digital signature clears by the time it gets to the recipient. Is there a way to specify, using javascript, that I want it to send the entire PDF and not an FDF?

My Product Information:
Acrobat Pro 8.1.2, Windows
StevenD
Registered: Oct 6 2006
Posts: 368
Try using the mailForm method.

this.mailForm(false, "name@emailaddress", "", "", "Put the subject line here", "Put the message here");

This should attach the PDF file to the email.

StevenD

jbfreels
Registered: Feb 19 2008
Posts: 63
No, use "this.mailDoc()"

"this.mailForm()" will attach the FDF, as documented in the Adobe JS API. mailDoc is documented to mail the current PDF document (saved version) to all recipients.

-jb
StevenD
Registered: Oct 6 2006
Posts: 368
My mistake. You are right. If I am not mistaken I believe all of the same parameters work with mailDoc() as with mailForm().

StevenD

jbfreels
Registered: Feb 19 2008
Posts: 63
That would be correct.

Any luck, kbedward?

-jb