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

Acroform Email

shahal
Registered: May 3 2007
Posts: 43

I am using acroforms and I would like to know how to take data from a text field (ie: name of person) and use it as a file name when sending data via email.
Is there a java script? If so, can I get a sample script?

My Product Information:
Acrobat Pro 7.0.0, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
This one is a real bummer. There is not direct way to force the attachment name when emailing PDF data. The data is always attached using the PDF file name.

So there is a work around, use the "doc.saveAs()" function to rename the file before mailing. Of course, this will only work in Reader if the form has been Reader Enabled.

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