I'm trying to access the SignatureInfo object of a signature field in a dynamic form. This simply does not seem to be available. Only if I save the exact same form as a static form does it become available.
I'm referencing the signature field using the Acroform getField() method, and creating the object by calling the signatureInfo() method. From this I check the "status" property to determine whether the signature field has been signed correctly, which, if it has, can then be submitted to a server. This script sits in a custom submit button.
var getSigField = event.target.getField("form1[0].subform1[0].sigField1[0]");
var sigStatus = getSigField.signatureInfo().status;
This script has served me well for a long period, and its only now that I've attempted to use it in a dynamic form created in Designer ES 8.1, that I get the error that "sigStatus" has no properties in the console. If I save the form from dynamic to static, it works. If I open the exact same form in Designer 8.0, and save it as a dynamic PDF from there, then this script works perfectly too.
Does anyone know what has happened between Designer 8.0 and Designer ES 8.1, that the SignatureInfo object is no longer working in dynamic forms?
Read the thread of Stefan Camerons blog. He described how to do this.
[url]http://forms.stefcameron.com/2008/11/05/digital-signature-field-status/[/url]
radzmar
• LoveCycle Blog
Documents you need:
• LiveCycle Designer ES2 Docs