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

How to preset Signature field appearance properties with JavaScript?

Community Beginner ,
Jun 22, 2024 Jun 22, 2024

Our organization uses a lot of PDFs with digital sigantures. I'd like to simplify and improve the PDF Forms that I create by using JavaScript to preset the appearance of digital signatures on my forms. The vast majority of our users never use anything other than the default appearance.

 

The goal is that when the user clicks on the Signature field, the default appearance is the one I've specified. Everything needs to be included in the PDF and happen almost trasnparently. I can't distribute extra files to folks.

 

Specifically, I want only the signer's Common Name, Title, and Section/Office displayed (Maybe Date, too). I figure I'll need to repurpose "Reason" and "Location" properties for those. But I haven't been able to find a way to either embed a signature appearance file in my PDFs or use JavaScript on the signature field to cause it to display the right info. I've been digging through the SDK and Dev Guide, but use of security handlers and signatureInfo is incredibly vague to me 😞

 

Can anyone point me in the right direction here?

TOPICS
JavaScript , PDF , PDF forms , Security digital signatures and esignatures
559
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
1 ACCEPTED SOLUTION
Community Expert ,
Jun 23, 2024 Jun 23, 2024

You can't do it without installing a script file on the local computer of the user.

View solution in original post

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 ,
Jun 23, 2024 Jun 23, 2024

You can't do it without installing a script file on the local computer of the user.

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 Beginner ,
Jul 10, 2024 Jul 10, 2024

That is incredibly disappointing to hear. 

To be clear, there's no way to programmatically set the Reason or Location part of a signature either? Those are both manual, unless you use a trusted script, right?

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 ,
Jul 10, 2024 Jul 10, 2024
LATEST

As far as I can see, that's correct.

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