The following properties are only available with the Date field.

Advanced Settings

To access this field's more advanced features, click the Advanced Settings link at the bottom of the field box.

Date Format. Control the date format allowed when a user inputs or selects a date. Use a combination or d, dd, D, DD, m, mm, M, MM, yy, yyyy. You can also use any combination of separators you like such as dashes, spaces, or slashes. Default is mm/dd/yyyy

  • d, dd: Numeric date, no leading zero and leading zero, respectively. Eg, 5, 05.
  • D, DD: Abbreviated and full weekday names, respectively. Eg, Mon, Monday.
  • m, mm: Numeric month, no leading zero and leading zero, respectively. Eg, 7, 07.
  • M, MM: Abbreviated and full month names, respectively. Eg, Jan, January
  • yy, yyyy: 2- and 4-digit years, respectively. Eg, 12, 2012.

Days of Week Disabled. Days of the week that should be disabled. Values are 0 (Sunday) to 6 (Saturday). Multiple values should be comma-separated.

Start Date. The earliest date that may be selected; all earlier dates will be disabled. Must match Date Format format.

End Date. The latest date that may be selected; all later dates will be disabled. Must match Date Format format.

Week Start. Day of the week start. 0 (Sunday) to 6 (Saturday).

Start View. The view that the datepicker should show when it is opened. Accepts values of 0 or 'month' for month view (the default), 1 or 'year' for the 12-month overview, and 2 or 'decade' for the 10-year overview. Useful for date-of-birth date pickers.

Min View Mode. Set a limit for the view mode. Accepts: 'days' or 0, 'months' or 1, and 'years' or 2. Gives the ability to pick only a month or an year. The day is set to the 1st for 'months', and the month is set to January for 'years’.

Today Button. If true or 'linked', displays a 'Today' button at the bottom of the datepicker to select the current date. If true, the 'Today' button will only move the current date into view; if 'linked', the current date will also be selected.

Language. The language to use for month and day names.

Orientation. Allows for fixed placement of the picker popup.

Autoclose. Whether or not to close the datepicker immediately when a date is selected.

Calendar Weeks. Whether or not to show week numbers to the left of week rows.

Today Highlight. If true, highlights the current date.