script to clear a signature
Hello,
I reviewed past entries on this topic but cant get my form to work:
I have the following script line to clear a signature field on the click event of a button that is not inactivated by the signature.
xfa.host.resetData("xfa.Myform.Subform5.MySignature");
However, when using the form in Acrobat, the script does not function and the console is offering the following error message: "Method: 'resetData' cannot be called because doing so would violate this document's permissions settings."
Is there a form's setting I need to change to get the script to work?