Hi Chris,
Sorry about late response.
Unfortunatelly any modification in the change event or later seeems to be too late (it brokes the signature)
Now what I use:
- set fields to readonly in the mouseDown event
- set fields to open in the change/click event if the signature field is empty/cleared
Problems with it:
- It does not work when someone right-click on the signatrie field
and select "Sign Signature Field...". The only event generated is 'change', but as I mentioned it seems to be too late.
Q: Is there any event that is executed right before the signing process initiated from context menu?
When is the exact time of starting signing process (between which events) ?
- If I use left-click to initiate signing process ON A STATIC FORM form it works almost fine (signature is OK, fields become readonly), but if I add a button field to show the 'access' of a field in a messagebox it returns 'open' after closing and reopening the signed documents, but the field itself is not editable.
Q: Why is it?
- If I generate the same form as a DYNAMIC one, after left-clicking and signing the form the signature is broken. It seems that the script in the 'mouseDown' event runs after the signing in this case and this make the signature field broken. The fields are READONLY after signing, but the save icon also become active showing that something is changed.
a. If I NOT SAVE the doc again and reopen the one saved during signing I can see that the fields are open.
b. If I SAVE the doc again, close and reopen the doc, the fields are open.
Q: Why become the signature field broken in case of a dynamic form when it almost work perfect in case of a static one ?
Q: Regarding b. If I save a form where all the fields are readonly, how could it happen that when I reopen the pdf the field are editable ??? What is saved than ???
(After reopening both the pdfs of case a. and b., the only different is that at b. the signature field is broken.)
Adobe Reader version 7.0.7
The forms were generated by ADS integrated with SAP Netweaver platform.
Best regards,
Ferenc