Creating a signature field in a PDF using JavaScript

I want to create a field in which a signature can be inserted something like what is indicated in the documentation:


I have tried everything and it has not worked for me, please if anyone knows how it works I will appreciate it very much.


Hi there,

Thanks for reaching out!

If you would like to add a signature field to a PDF directly in the web browser, you can take a look at this sample:
The sample code is available in the WebViewer/samples/forms/form-builder if you download the WebViewer folder and also available online:

Best Regards,
Jimmy Lin
Software Developer
PDFTron Systems, Inc.

CONFIDENTIALITY NOTICE: This message (and any attachment to it) is intended only for the use of the individual or entity to which it is addressed in the header, and may contain information that is privileged, confidential and exempt from disclosure under applicable law. Any reproduction, distribution, modification or use of the contents of this message (and any attachment to it) by any individual or entity other than the intended recipient is prohibited. If you have received this communication in error, please notify us immediately and delete the original.