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

Flatten all form fields after the user has signed the document

Explorer ,
May 02, 2023 May 02, 2023

Hello everyone.

 

I'm just wondering if anyone knows any Javascript that can be added to a PDF that ensures all fillable form fields are then flattened (not locked or made read-only) once the user has signed the document using the 'Sign yourself' feature?

 

I have a document that utilises other aspects of JS to calculate other fields using percentages, but its almost as if the JS is ignored when sent for signatures (after Googling I believe that both Acrobat forms and Adobe Sign forms behave differently, hence the need to flatten the fields before sending for signatures).

 

Any help is greatly appreciated. Thank you in advance.

Steven

TOPICS
JavaScript , PDF forms , Security digital signatures and esignatures
2.7K
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
Community Expert ,
May 03, 2023 May 03, 2023

See my answer in this topic:

https://community.adobe.com/t5/acrobat-discussions/pdf-template-that-s-read-only-to-recipient-except...


Acrobate du PDF, InDesigner et Photoshopographe
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
Explorer ,
May 03, 2023 May 03, 2023

Thank you for sending that link JR. Do you know what I need to add to the JS in the console to have the flattenPages kick in upon signing? Or is it only possible via a button?

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
Community Expert ,
May 03, 2023 May 03, 2023

If this is something you do often you should install the plugin, it is the easiest.


Acrobate du PDF, InDesigner et Photoshopographe
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
Community Expert ,
May 03, 2023 May 03, 2023

Why not simply use a Signature field, and set it to lock all the fields in the file when signed?

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
Explorer ,
May 03, 2023 May 03, 2023

Hello Try. I had that set up initially, but realised that when the form gets sent out for signatures, it reverts my preset percentage and currency fields to standard number fields when it gets converted to an Adobe Sign form. Was wondering if flattening those fields will result in them retaining their styling when sending out.

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
Community Expert ,
May 03, 2023 May 03, 2023

What I'm suggesting is not to use Adobe Sign at all. Just add a signature field and then send the file directly to the recipients, with a button to submit it back to you by email, if you wish.

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
Explorer ,
May 04, 2023 May 04, 2023
LATEST

Our team members are familiar with using the send for signatures feature around the business so not sure they'll resort to sending round the PDF another way.

Not to worry, I'll look for another solution with regards to flattening them. Thank you for your help.

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