Expand my Community achievements bar.

Validationstate of a signature field using JavaScript

Avatar

Former Community Member
Hi there,



I´ve searched for a solution on how to check, if a signature field is valid using JavaScript.

In the Designer help, I´ve found the verify-Method:

Reference_Syntax.verify( OBJECT param1 [, BOOLEAN param2 [, OBJECT param3 [, OBJECT param4 ] ] ] )

Looks nice, but how to really implement that. What is the Reference_Syntax in this case? I`ve tried the signature field, the form, the doc, the host etc etc. with always gain an error, that the object doesn´t provide the verify-function.

I´ve also tried the Acrobat Objects, which should provide a signatureInfo, without success.

The document is an dynamic, interacive Form for the Reader 8.x using JS.



Could please provide me someone with some working sample code, on how to solve that problem?



Thanks in advance,

Joerg
3 Replies