Thank you very much for your help.I tried the code "var oSigState =
event.target.getField("form1[0].#subform[0].SignatureField1[0]").signatureInfo().status;".
However, it gave the following
error:event.target.getField("form1.SubformMain.SubformText.SubformSignatures.EmployeeSignature").signatureInfo
is not a
function3:XFA:form1[0]:SubformMain[0]:SubformText[0]:SubformSignatures[0]:Button[0]:clickSo
I substitued that line of code and some more code form another blog with
var digSig = event.target...