I would like to get the end-user's name out of a digital signature (i.e., subject's name on the signature) while executing the postSign script, so that I can transcribe into a text field elsewhere in the document. I've spent hours surfing to find a solution for this. Is there a way to do it? Thanks for reading.
Look in the Acrobat scripting reference at the signature objct. I am quite certain that it is exposed through that object.
var digSig = event.target.getField ("MyForm...MyPathstuff ...Signature ");
var sigInfo= digSig.signatureInfo (); // Gets SignatureInfo object
var sSigner = sigInfo.name;