Date Data

Description

Allows editing of dates with a date picker pop-up menu, or via keying in directly into the fixed format field.


Parameters

NameRequiredAvailable InDefault ValueDescription

[default] / name (Field Name)

 (tick)

 

The name of the date data field. Must be unique.

required

 (tick)

false/unchecked

If checked, this field cannot be empty.

minDate (Minimum Date)

 (error)

 

The minimum date that is allowed, format of date entered here must follow the format parameter. Default format is 'yyyy-MM-dd'.

maxDate (Maximum Date)

 (error)

 

The maximum date that is allowed, format of date entered here must follow the format parameter. Default format is 'yyyy-MM-dd'.

format (Display Format)

 (error)

yyyy-MM-dd

The format to display the date in. May contain any of the following special characters:

  • y - The year (eg. 'yy' = '05', 'yyyy' = '2005').
  • M - The month (eg. 'MMMM' = 'April', 'MMM' = 'Apr', 'MM' = '04').
  • d - The day (eg. 'dd' = '09', 'd' = '9').
  • H - The hour - 24 hour time (eg. 'HH' = '13').
  • h - The hour - 12 hour time (eg. 'h' = '1', 'hh' = '01').
  • m - The minute (eg. 'mm' = '23').
  • s - The second (eg. 'ss' = '14').
  • a - AM/PM (eg. 'a' = 'PM').


Editor View

Tutorial Examples