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

lock form fields for different users

New Here ,
Feb 06, 2024 Feb 06, 2024

Copy link to clipboard

Copied

Hello,

I'm creating an document where User A (the company) needs to fill in form fields that User B (the customer) is not allowed to change.

I figured out that when User A signs the document with his signature, the linked form fields lock. This is actually a solution i needed, but it needs to be a signed signature and not a name and contact information i need to fill in for it to work. Also the customers, and possibly the company too,  don't have Adobe Acrobat. So i don't know if that will lock it in the right way.

A different idea was to lock specific form fields with a password. That would be the easiest way i think. But i can't seem to find that out.

 

How can i make sure User A can lock some fields that User B can't Access? I have almost no knowlegde of Javascript.

TOPICS
JavaScript , PDF , PDF forms , Security digital signatures and esignatures

Views

242

Translate

Translate

Report

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

correct answers 1 Correct answer

New Here , Feb 06, 2024 Feb 06, 2024

I found it!

For anyone with the same question in the future:


I created a button with a Javascript command:
this.getField("Name1").readonly = true;

this.getField("Name2").readonly = true;

this.getField("Name3").readonly = true;

When i press the button, it sets the chosen fields on read only.

 

After that i create a new rule that "on click" the button also disappears so the customer wont see it.

 

If you need a way to undo this, just create a new button and copy the same code, but change all the "true" to "

...

Votes

Translate

Translate
Community Expert ,
Feb 06, 2024 Feb 06, 2024

Copy link to clipboard

Copied

The usual method is to lock the fields concerned. If you need to do this with Acrobat Reader, you can use a bookmark or a button.

Votes

Translate

Translate

Report

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
New Here ,
Feb 06, 2024 Feb 06, 2024

Copy link to clipboard

Copied

LATEST

I found it!

For anyone with the same question in the future:


I created a button with a Javascript command:
this.getField("Name1").readonly = true;

this.getField("Name2").readonly = true;

this.getField("Name3").readonly = true;

When i press the button, it sets the chosen fields on read only.

 

After that i create a new rule that "on click" the button also disappears so the customer wont see it.

 

If you need a way to undo this, just create a new button and copy the same code, but change all the "true" to "false". 

Votes

Translate

Translate

Report

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