When you want to include a Date Field in a Form which you need the recipient to complete, the date needs to be entered in the correct format if you are to be able to search or segment on that field.
To achieve that one uses a “Datepicker” – a dropdown calender from which the appropriate date can be selected. There are many free Datepickers available as you will find if you Google datepicker.
We have selected one which appears as below when the “Date” field is clicked on. Calenders for past or future months or years are selected either from the two dropdown lists or using the left / right arrowheads.
Download the Datepicker code using the download button above.
Adding the code/scripts to a Form is VERY simple as below.
The date format can be set to whatever format you wish by modifying as below:-
yy-mm-dd = 2016-03-25 (March 25th 2016)
mm-dd-yy = 03-25-2016
dd-mm-yy = 25-03-2016