Skip to main content
Participant
February 20, 2017
Question

Making a Form Locked/Non-Editable After Submission

  • February 20, 2017
  • 3 replies
  • 7530 views

So the thing with this form is that when the person submits it, it will go off to a particular email address. When it arrives, it is still editable – the person receiving can still click in a field and change the content. I don’t want that to happen. Once they submit the info should be embedded / locked / non-editable.

Title edited by: Pariah Burke Made title more succinct.

This topic has been closed for replies.

3 replies

Participant
May 22, 2022

Hi, I am facing this same issue. Did you ever solve this issue? if so how?

 

try67
Community Expert
Community Expert
May 22, 2022

There were 4 different solutions given above. Did you try any of them? I would recommend option #4, locking the file when it's digitally signed. It's the most secure way of doing it.

franciepima
Participant
June 2, 2022

This link from above is now dead (1) You can 'flatten' the form. This converts all dynamic content in a PDF to static content. You would do this with the Doc.flattenPages() method: Acrobat DC SDK Documentation - Doc.flattenPages() - This method only works in Adobe Acrobat.) Would you be able to explain how to do this for me?

NKOWA555
Inspiring
March 4, 2017

Two more options:

3) Submit to a ASP.net server-side script and flatten with iTextSharp and send the attachment using SMTP.

4) Create a signature field, and lock select fields upon signing action (under field properties)

[ Mod: Link removed ]

Karl Heinz  Kremer
Community Expert
Community Expert
February 21, 2017

There are two ways you can "lock" a form, one of these only works in Adobe Acrobat, the other works in the free Adobe Reader as well:

1) You can 'flatten' the form. This converts all dynamic content in a PDF to static content. You would do this with the Doc.flattenPages() method: Acrobat DC SDK Documentation - Doc.flattenPages() - This method only works in Adobe Acrobat.

2) You can set all form fields to read-only. This also works in the free Reader. The best way to do this is by iterating over all fields and setting the "readonly" property to true: Acrobat DC SDK Documentation - Field.readonly See here for some sample code: PDF Form javascript for making readonly field by using button