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

Form Submitted by Email

pflores@sunflow...
Registered: Aug 21 2007
Posts: 37
Answered

I have a Livecycle form that I added an "email form" button to. I did not use the standard email button, just the regular button and used scripting. I've done the following:
var address = "address@myserverlocation";
var sub = "Completed Employment Application";
var msgBody = "Hello,\n\nAttached is my completed Employment Application\nPlease contact me should you need anything further.\n\nThank you,\n";
 
What I'd like to know is if I can change the default name that attaches itself to the pdf form when it is emailed to us?
 
Help is much appreciated and needed! Thanks!

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Accepted Answer
the name used for the email attachment is controlled entirely by Acrobat:( For distributed forms on some versions of Acrobat Adobe makes up it's own names, but in most cases it will be the name of the file. So you can change it to getting the user to save the file to a new name, far from ideal.

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

pflores@sunflow...
Registered: Aug 21 2007
Posts: 37
I was afraid of that. Thanks for the quick response, Thom!
NK-INC.COM
Registered: Apr 17 2010
Posts: 93
Check out PDFEmail.net!

With PDFEmail.net, you can change the PDF attachment file name.

Useful links:
http://www.pdfemail.net/

thomp
Expert
Registered: Feb 15 2006
Posts: 4411
Brilliant Product!! I haven't used it but conceptually it's a great idea.

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