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

Digital signature saving

dmmuller
Registered: Oct 19 2010
Posts: 4

I created a document, with digital signatures, that is stored on a server and accessed through a web page. When the user opens the form and fills it out he must then digitally sign the document and save the file over the existing file. When the user clicks on the signature field, it automatically comes up with a save as screen. Is there a way to automatically save the document with the signature without allowing the user to decide where to save it?
 
Dmmuller

My Product Information:
Acrobat Pro 9.3.1, Windows
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
If this document is distributed to a general audience then there is absolutely no way. How would you even know where to save the PDF on another persons system? But if this document is in a controlled population then you can distribute a JavaScript automation tool to them that will handle the signing process.

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

dmmuller
Registered: Oct 19 2010
Posts: 4
the document is a controlled population. they will log in to a web page and fill in a little info, including a case#, which will then open the document automatically(which we copy a blank form in a folder that corresponds to a case#)and cause of this, we need the document to save over the top of itself with no prompting.

David muller
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
In Acrobat JavaScript the field object has a "signatureSign" function. To be able to use this function to save the PDF to a specific location it has to be run from a privileged context, i.e., this cannot be done from a document script. It has to be done from a folder level trustedFunction.

Here's a couple of articles that will help:
http://acrobatusers.com/tutorials/2008/10/using_trusted_functions
http://acrobatusers.com/tutorials/2007/10/apply_security_with_js/

You can look up using the signatureSign function in the Acrobat JavaScript Reference

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

dmmuller
Registered: Oct 19 2010
Posts: 4
I really have absolutely no idea how to do any of what those articles are saying. I have never programmed and can't do any of what needs to be done. is there an after market program that would allow me to get acrobat to automate the save as? it would just take me forever to learn to program and I don't have the time.

David muller
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
the script is not complex, but do this you'll need hire a developer. You can put a posting on the Job board.

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

dmmuller
Registered: Oct 19 2010
Posts: 4
what would you charge to do this?

David Muller
thomp
Expert
Registered: Feb 15 2006
Posts: 4411
You can contact me for more information at support [at] windjack [dot] com

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