- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
You can check the state of a signature field through a script an use the result to control if other script to be executed or not.
// Get the state of the signature field.
// NOTE: In XFA forms this works only by using getField() method with full SOM expresion, so keep the accessors [0]!
var oSignInfo = event.target.getField("form1[0].#subform[0].signature[0]").signatureInfo(),
iSignState = oSignInfo.status;
// Execute only when form is unsigned
if (iSignState === 0 {
// enter your code here
…
}
Status Code Meaning
-1 Not a signature field
0 Signature is blank
1 Unknown status
2 Signature is invalid
3 Signature of document is valid, identity of signer could not be verified
4 Signature of document is valid and identity of signer is valid.
Views
Replies
Total Likes