Copy link to clipboard
Copied
Hi,
I have created a form with a button that makes all fields 'read only'. Now I want to create a button that makes all fields editable again and resets the form, but I want to make this button password protected so only certain people within the company can unlock and reset the form.
While I'm at it is there a way to make any button password protected whether it be to print, save, etc.
Any help on this would be much appreciated.
Copy link to clipboard
Copied
Hi Greg Machar,
You can set permission password to restrict editing or printing.
Refer this KB doc for help: Securing PDFS with passwords, Adobe Acrobat
Let us know if you need any help.
Regards,
Meenakshi
Copy link to clipboard
Copied
It is even possible to set this reset button only appear for a specific user or group of users.
One could add an action to the button to prompt for the password which must be matched before the fields are made writable and the form clears. Of course unless does some additional work the password will be in clear text.
Copy link to clipboard
Copied
Hello George,
What is your workflow to make fields read-only? If you are flattening the form then it is not possible to make the fields editable or fillable again.
Regards,
Tariq Dar.
Copy link to clipboard
Copied
Since you have already set the fields as read only, I'll not address that.
If I am using a button with script that includes a prompt for a password, I would not set that button to read only. The script would prompt for the password and validate the response. If matched then a script would run that would set the readonly property of the field to false. If not matched, then I would exit the script.
If I were to use the user login name to unlock the form fields, I would add the necessary script to get the login ID from the identity object. This script will be a folder level script. Then I can create a document level script to use the folder level script to get the login ID. Then I match that against an array of authorized users. If there is a match, I change the readonly property of the fields to false.
This assumes the form is not flattened. If flattened, then one needs to get the flattened words from the area where the field used to exist and then add a new field with the previous field name and set the value of the field to words from the flattened form.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now