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

Populate other fields with date from digital signature

michaelthopkins
Registered: Feb 11 2008
Posts: 13
Answered

I have a form I am working on which has a couple of blocks requiring signatures from different departments. After each signature it has a field for a date. I would like to write a javascript to run after each signature that will fill in the date based upon the date from the digital signature and then lock several fields.
 
I have searched all over and can't seem to find how to "pull" that information from the digital signature and put it into another field. I understand that by clicking on the digital signature after it is signed you can see the date, but this particular form requires the date in a particular area.
 
Any help is much appreciated.
 
Thanks...

My Product Information:
Acrobat Pro Extended 10.1, Windows
Kelly McCathran
Registered: Feb 9 2010
Posts: 38
Accepted Answer
Michael,

You can use SignatureInfo.Date. It will return the value as a JS date object. Each field will need a function to grab that info and write it into your date field. You could set that to happen on document open or document save.

Kelly McCathran
Adobe Certified Instructor
Adobe User Group Manager (http://creativesuitelovers.com)
Certified Technical Trainer+

michaelthopkins
Registered: Feb 11 2008
Posts: 13
Thanks so much. It worked like a charm.