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

Submit form to save to a folder

SamStickler
Registered: Oct 7 2007
Posts: 9

What javascript could I attach to a button so that when a user clicks on it, the form will save to a specified folder.

My Product Information:
LiveCycle Designer, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can't, this is a security violation. There is a "doc.saveAs()" function in Acrobat JavaScript. But it can only be executed from a privileged context. And it is restricted in Reader.

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