Skip to main content

How to have a date picker with year selection


I want an input_calendar widget to enter a date of birth, which could easily be many years ago.

The standard input_calendar widget doesn't allow the direct selection of the year.


Use the component DatePicker from the OutSystems Forge.

The component uses the jQuery plugin DatePicker, which has options to select the month and the year through drop down menus.

You must modify the plugin to add the options changeMonth and changeYear, as shown below:

date picker.png

The widget should appear as follows:

date picker2.png