On which event should I run a script to after a user would import data into the form?
I have a form that incorporates a signature.
We decided to add a text field to log the changes to the signature. Essentially if the signature changes, it appends the date and time of the change, and the Signature information (signatureInfo().statusText);
I also have a numeric field that records the SignatureValidate() value at the time of the change.
The reason for this is to track in particular if a signature might have been removed other that by a user clearing its own signature, in particular by exporting the form's data and reimporting in to a blank form. Doing so removes the signature and there is a mismatch between the signature validity and the recorded value in the numeric field.
I tried to put a script to test for mismatch between the signature field and the numeric field on the docReady event but this works only after I close the file and open it again... which means the import would not be detected if the user adds a signature between importing data and closing the file.
I would like the form to run a script immediately after data being imported to test if there is such a mismatch, and if so, record it in the text field (i.e. log) . Which event would that be?