Skip to main content
Participant
June 12, 2017
Answered

saving completed forms into uneditable pdf

  • June 12, 2017
  • 2 replies
  • 7554 views

HI

I have just created a proposal for our business and I want my sales people to be able to fill it out and save it as a non-form pdf if they need to send a soft copy. ie make the forms not interactive when sent.

Could you tell me how to do this.

thanks

This topic has been closed for replies.
Correct answer try67

DO you have instructions for that?

Both Flattening the fields and or setting it up to sign the documents digitally.

Thanks so much for your help.


- Flattening: Use this code:

this.flattenPages();

- Setting fields as read-only: Use this code:

for (var i=0; i<this.numFields; i++) {

    var f = this.getField(this.getNthFieldName(i));

    if (f==null) continue;

     f.readonly = true;

}

- Digital Signature: You can add it in Form Edit mode and then under its Properties go to the Signed tab and set it to lock all the fields when signed.

2 replies

Participant
May 11, 2022

You can "print as pdf". The fillable form will be save as flattened uneditable file.

Known Participant
July 13, 2022

How is this done with code? I don't see that option in the execute menu item list. Can it be made to automatically select "save to PDF" as the printer?

try67
Community Expert
Community Expert
July 13, 2022

You can send the file to the Adobe PDF printer using a script, but you can't specify the file-name. The user will have to do that manually. Also, this won't work in Reader, as it doesn't come with that printer.

try67
Community Expert
Community Expert
June 12, 2017

Do they have Acrobat or just the free Reader?

Participant
June 12, 2017

Ideally id like them to be able to do it in reader but most of them have acrobat.

try67
Community Expert
Community Expert
June 12, 2017

With Acrobat it's possible to flatten the fields, converting them to static contents.

With Reader you can set them as read-only.

But the most secure way of doing it (in either application) is by digitally signing the document.