Skip to main content
Participant
September 4, 2017
Question

Delete scribble "Fill and Sign" signature with javascript

  • September 4, 2017
  • 1 reply
  • 624 views

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 has been closed for replies.

1 reply

try67
Community Expert
Community Expert
September 4, 2017

Is the signature always on the first page?

Participant
September 4, 2017

Yes, it is a single page document.

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.