Keep track on how was the PDF form saved
Hi all.
I have a PDF form with a "submit" button which, among other things, saves the file (executing the "SaveAs" menu command). I want the users to save the file using this button alone, and reveal if someone cheats and saves the file in another way (e.g. manually executing Save).
I thought about creating a hidden field, whose value will be set to "true" by this Submit button, and every other action on the form will set it to "false". That probably means that every field will have a Javascript code that detects a change in the value of the field, and sets this hidden field if its value has changed.
Is there any better way to do it? and what is the best way to detect changes in the value of the fields?
Thanks!