Exit
  • Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
  • 한국 커뮤니티
0

Password to reset PDF Form

New Here ,
May 08, 2016 May 08, 2016

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.

TOPICS
Acrobat SDK and JavaScript , Windows
777
Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 09, 2016 May 09, 2016

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

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 09, 2016 May 09, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Employee ,
May 09, 2016 May 09, 2016

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
May 10, 2016 May 10, 2016
LATEST

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.

Translate
Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines