# How to listen for onSelect event from DatePickerWidget

**URL:** <https://pdfjs.community/t/how-to-listen-for-onselect-event-from-datepickerwidget/755>\
**Category:** Technical Support\
**Created:** [May 6, 2021, 11:38pm UTC](https://pdfjs.community/t/how-to-listen-for-onselect-event-from-datepickerwidget/755 "2021-05-06T23:38:06Z")\
**Posts on this page:** 1\
**Showing post:** 2

<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:** [May 6, 2021, 11:38pm UTC](https://pdfjs.community/t/how-to-listen-for-onselect-event-from-datepickerwidget/755/2 "2021-05-06T23:38:12Z")

</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:
- [Default UI for WebViewer - How it works behind the scenes](https://pdfjs.express/documentation/ui-customization/default-ui#how-it-works-behind-the-scenes)
- [Add signature fields to PDFs - createSignHereElement](https://pdfjs.express/documentation/signature/signature-field#createsignhereelement)
- [Download & integration for PDF.js Express Viewer - Integrate into your application](https://pdfjs.express/documentation/get-started/manually#integrate-into-your-application)

APIs:
- [Annotations.DatePickerWidgetAnnotation - setRect(rect)](https://pdfjs.express/api/Annotations.DatePickerWidgetAnnotation.html#setRect__anchor)
- [CoreControls.AnnotationManager - getDisplayAuthor(annotation)](https://pdfjs.express/api/CoreControls.AnnotationManager.html#getDisplayAuthor__anchor)
- [UndefinedWebViewer(options, viewerElement)](https://pdfjs.express/api/global.html#WebViewer__anchor)

Forums:
- [Date picker widget dropdown years are too limited](https://pdfjs.community/t/date-picker-widget-dropdown-years-are-too-limited/715/1)
- [Custom date format for DatePickerWidgetAnnotation](https://pdfjs.community/t/custom-date-format-for-datepickerwidgetannotation/587/3)
- [Deploy viewer to staging server](https://pdfjs.community/t/deploy-viewer-to-staging-server/58/1)

---

_[View the full topic](https://pdfjs.community/t/how-to-listen-for-onselect-event-from-datepickerwidget/755)._
