Field for signature with javascript

Community Beginner ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

Hello,

 

i wonder if it is possible with js to create a field, where users can draw their signature and the drawn signature is then placed automatically to the wanted place.

So i want to speed up this workaround (sorry, just have the german version of acrobat):

 

Image1.png 

Click on the Sign Button

 

  Image2.png

Click on Insert/Add Signature

 

  Image3.png 

Click on Draw

 

Image4.png

Uncheck the "save signature" option

 

So what i want is the last Image and the auto positioning after creation.

Is that possible and if yes what i need for it?

 

 

Thank you very much in advance for your knowledge.

 

TOPICS
Create PDFs, How to, JavaScript, PDF forms, Security digital signatures and esignatures

Views

51

Likes

translate

Translate

Translate

Report

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
Most Valuable Participant ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

I don't think this can be done with JS, but if you could share a sample file that has this "field" in it we could give you a more definite answer.

Likes

translate

Translate

Translate

Report

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 ,
Feb 27, 2021 Feb 27, 2021

Copy link to clipboard

Copied

I have no field yet. I just want to create an area like a field for the signature as positioning.

I found the function

app.execMenuItem("Annots:Tool:InkMenuItem");

when looking for solutions. This seems like a beginning for the solution.

But this function seems not to work for me. I read this functions have to get whitelisted via Registry. But does every user need this whilelist then to use this command?

Likes

translate

Translate

Translate

Report

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