Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
Bedrock Mission!

Learn more

View all

Sign in to view all badges

Adobe Summit 2023 [19th to 23rd March, Las Vegas and Virtual] | Complete AEM Session & Lab list

Catch Signature Field entry failure or cancellation?

Avatar

Level 2

I wish to set the value of a checkbox to TRUE upon successful entry of a signature into a Signature Field (prior to the save portion of the signature entry routine).

My form has two objects.

1. Signature Field named: SignatureField1

2. Check Box named: chkDocumentSigned

To set the value of the check box I am using: chkDocumentSigned.rawValue = 1;

If run this JavaScript on the postSign event then the checkbox value is not changed in the document that is saved as part of the signature entry routine.

Alternatively if performed on the preSign event I am unable to capture signing failure or cancellation, the checkbox value is still set to TRUE in this instance, so the check box value is not a true reflection that the document has actually been signed..

What are my options for this?  

Thanks for any advice you can provide.

0 Replies