# Digital signature problem

**URL:** <https://pdfjs.community/t/digital-signature-problem/741>\
**Category:** Technical Support\
**Created:** [April 30, 2021, 5:14pm UTC](https://pdfjs.community/t/digital-signature-problem/741 "2021-04-30T17:14:15Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![stefans](https://avatars.discourse-cdn.com/v4/letter/s/9d8465/32.png) [@stefans](https://pdfjs.community/u/stefans)\
**Post date:** [April 30, 2021, 5:14pm UTC](https://pdfjs.community/t/digital-signature-problem/741/1 "2021-04-30T17:14:15Z")

</div>

When I upload digitally signed document on PDF JS EXPRESS, I have “sign here” annotation ( e signature field ) instead of digital signature. I know that PDF JS EXPRESS doesn’t support digital signature in this moment but can you please help me to delete “sign here” annotation??

Thank you so much,  
Stefan

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex031/uploads/pdfjscommunity/original/1X/ffbcd25c7d423db8d5acd5db201c272f4db306dd.png) [@system](https://pdfjs.community/u/system)\
**Post date:** [April 30, 2021, 5:14pm UTC](https://pdfjs.community/t/digital-signature-problem/741/2 "2021-04-30T17:14:20Z")

</div>

**Hello, I’m Ron, an automated tech support bot 🤖**

While you wait for one of our customer support representatives to get back to you, please check out some of these documentation pages:

Guides:
- [Create measurement annotations - Create measurement annotations with the UI](https://pdfjs.express/documentation/measurement/create#create-measurement-annotations-with-the-ui)
- [Best practices for PDF.js Express - Store annotations](https://pdfjs.express/documentation/learn-more/best-practices#store-annotations)
- [Add signature fields to PDFs - createSignHereElement](https://pdfjs.express/documentation/signature/signature-field#createsignhereelement)

APIs:
- [VerificationOptions](https://pdfjs.express/api/VerificationOptions.html#__anchor)
- [ExpressUtils(optionsopt) - # async set() → {Promise.}](https://pdfjs.express/api/utils/ExpressUtils.html#set__anchor)
- [PDF.js Express Utilities](https://pdfjs.express/api/utils/index.html#__anchor)

Forums:
- [Add signature fields to PDFs](https://pdfjs.community/t/add-signature-fields-to-pdfs/713/1)
- [How to protect my license key](https://pdfjs.community/t/how-to-protect-my-license-key/560/1)
- [How to delete highlight annotation from pdf with pdf js express in react](https://pdfjs.community/t/how-to-delete-highlight-annotation-from-pdf-with-pdf-js-express-in-react/379/4)

---

<div class="post-metadata">

**Author:** ![driley](https://avatars.discourse-cdn.com/v4/letter/d/13edae/32.png) [@driley](https://pdfjs.community/u/driley)\
**Post date:** [May 3, 2021, 10:56pm UTC](https://pdfjs.community/t/digital-signature-problem/741/3 "2021-05-03T22:56:30Z")

</div>

Hi Stefans,

You can remove the sign here annotation by iterating over all the annotations and seeing which one is a signature annotation and removing it if it is a signature annotation. Here is a code snippet to do just that:

```javascript
const { docViewer, annotManager, Annotations } = instance;
     docViewer.on('annotationsLoaded', () => {
       const listOfAnnots = annotManager.getAnnotationsList();
       listOfAnnots.forEach(annot => {
         if (annot instanceof Annotations.SignatureWidgetAnnotation)
           annotManager.deleteAnnotations([annot]);
       });
     });

```

Cheers,  
Dustin
