1 Reply Latest reply on Jan 27, 2014 9:55 AM by Lucia Lao

    validating Digital Signatures using javascript

    SriHarsha

      i have created a sign field and a button. if user doesnt fill the sign and presses the button,the a error msg should appear. i have written the following java script for tat.kinldy help.its not working.

       

       

      if

      (event.target.getField("data.page.SignatureField1").signatureInfo().name == null)

      {

      app.alert("fill signature");

      }

       

      note:the following code is written in button's click event.

             : data.page.SignatureField1  is the signature field.