Avatar

Level 1

Hi Niall,

Thank you very much!!!  In the mean time I have been working on this issue using your previous script and it has solved my issue.  I placed the following script in the preSubmit event for the Signature field.

var oState = event.target.getField("form1[0].Page2[0].SignSubform[0].CertSig[0]").signatureValidate();

if (oState != 0)

{

this.mandatory = "disabled";     

}

else

{

this.mandatory = "error";

xfa.host.messageBox("You have not signed the form. \n\nPlease click OK and then click the    signature field to sign the form. \n\nThank you!", "Error submitting this form", 0, 0);

}

As I went to place an update in this forum I found your recent post which is strikingly similar.   I am very grateful for your help. 

Note: I was also making the mistake of not including the [0] which is not a part of my object names (as you know) but I had initially assumed was a part of the names in your example until I opened your sample and discovered the difference.

Tilson