After some experimentation, I've found that the problem seems to occur if there are subforms on a master page. Once I removed the offending subforms from my form, the signature validated correctly.
I'd go for something like this on the exit event of the last field in Row 1:var objWhere1 = xfa.resolveNode("Row1[" + (_Row1.count - 1) + "]");var objWhere2; _Row1.addInstance();if (objWhere1.change_checkbox.rawValue == "1"){ _Row2.addInstance(); objWhere2 = xfa.resolveNode("Row2[" + (_Row2.count ...
I'm having the same issue as well. In addition to the additions/deletions to the master pages, the signature panel indicates that a field on the title page of my form was filled in after validation. I ran a temporary script on the signature field's postSign event, using Acrobat's signatureGetModific...
You have to use the Acrobat getField method to access signatureValidate. Since it's an Acrobat method rather than an XFA method, you put event.target at the beginning of the reference.var oState = event.target.getField("form1[0].SignatureField[0]").signatureValidate();
getField's argument has to be the complete path to the signature field, including explicit instance indices, e.g. "form1[0].page1[0].Main[0].DeptHeadApproval[0]".
I think you need to make felt1 a string. I've tried using somExpression as the argument to getField as well and it just doesn't work. Try something like this:var felt1 = "form1[0].side1[0].sub_Underskrift[0].fld_Underskrift[0]";Hope this helps.Christopher Allen
You'll need to change the "eq" operators to "=", the assignment operator, in your "then" statements, as well as in the final "else." "eq" is the alternate form for "==", the equality operator.