Expand my Community achievements bar.

How to lock one field after you save the PDF?

Avatar

Level 1

I have a PDF form with a bunch of fields. I want to be able to lock on field after I save the PDF. I do not want to have a save button on the form.

User scenario - A user will fill out the PDF. Then, the user will save the PDF on his local computer. When the user or another user opens the PDF, the first field will be locked (greyed out).

I know I will need a JavaScript for this. What would the script be and where do I place it?

Thanks

1 Reply

Avatar

Level 5

Hi

on PostSave event of the field which you want to lock keep the below script.Language "JavaScript"

this.access = "readOnly"

Vjay