Skip to main content
Participant
September 4, 2017
Question

Delete scribble "Fill and Sign" signature with javascript

I have a reset button on my PDF that resets all form fields and would also like to delete any signatures using the "fill and sign" scribble tool (not the digital signature).

I am using the following code to try and accomplish this, but is not working (assuming the signature is not an annotation but an image?)

Is it possible to remove the scribble signature?

this.syncAnnotScan();

var annots = this.getAnnots({nPage:0});

if (annots) {

    var num = annots.length;

    for (var i = num - 1; i > -1; i--) {

       annots.destroy();

    }

}

This topic is closed to new replies. Start a new post to keep the conversation going.

5 replies

try67
Community Expert
Community Expert
September 4, 2017

Is the signature always on the first page?

Translate
Participant
September 4, 2017

Yes, it is a single page document.

Translate
try67
Community Expert
Community Expert
September 4, 2017

Can you share a file with this signature? Use Dropbox, Google Drive, Adobe Cloud, etc., and post a link to it here.

Translate