Skip to main content
Known Participant
January 31, 2018
Answered

Keep track on how was the PDF form saved

  • January 31, 2018
  • 1 reply
  • 683 views

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!

This topic has been closed for replies.
Correct answer try67

You don't need to add a code to the other fields, just create a hidden field with a custom calculation script that sets that value as "false".

The script will be executed each time any field is edited.

1 reply

try67
Community Expert
try67Community ExpertCorrect answer
Community Expert
January 31, 2018

You don't need to add a code to the other fields, just create a hidden field with a custom calculation script that sets that value as "false".

The script will be executed each time any field is edited.

Known Participant
February 1, 2018

Suppose another field was edited, but the new value is identical to the old value. This hidden field will be set to "false". Is there any easy way to prevent it?

try67
Community Expert
Community Expert
February 1, 2018

In that case it's not really edited, is it?