Highlighted

Checking if a signature field is signed

Avatar

Guest

01-08-2008

I am trying to simply write javascript code in LiveCycle Designer 8.0 to check if a signature field has been signed. I've read other post on this topic and i've tried different solutions but none has worked for me thus far. Here is the lastest code I have...



var oState = event.target.getField("xfa.form1[0].subform[0].Header[0].SignatureField1[0]").signatureValidate();



I get an error saying...

"event.target.getField("xfa.form1[0].subform[0].Header[0].SignatureField1[0]") has no properties"



Does anyone know how to fix this problem?

Replies

Highlighted

Avatar

Guest

01-08-2008

I got that section of code to work in the "changed" event of a signature field. However, it doesn't work in the initialization event of the form...nor does it seem to have any effect in any other event outside of the "changed" event. I believe I still need to fiddle with it some more to see what's the problem. Anyone have any clues until then?