How can I have a message pop up when clicking on digital signature that warns the person they are signing an official government document. I invision the message popping up making the statement and a button within the message that can be clicked to sign it. Any ideas? form Attached
You can put something like this on the mouseDown event of the signature field:
xfa.host.messageBox("Warning: You are about to sign an official government document");
I tried it, the message box comes up beautifully, but after I click "OK" it won't let me digitally sign it, it just keeps bringing the box up.
Thats strange, cos it works when i add the code to the mouseDown event. When I click OK on the popUp it asks which handler I would like to use (I have a digital cert and a signing pad). I can then sign the doc and the form then attaches itself to an email. I do notice a small problem though... If i try to 'Cancel' (ie abort the signing process) when it asks which handler i want to use, the form still attaches itself to an email even though the sig field is empty. Im not sure if you want it to do that? I have attached the pdf with the code added. Let me know if it works.