The DojoDateTextBox widget creates a date input field.
Properties
- errorMessage
- The message that is displayed when the input is not valid
- formatLength
- The format of the displayed data; for example, Monday, March 16,
2009 versus 2009/03/16 versus 03/09. The length of the date might
be restricted by region and available storage. Specify a value of
short, medium, long, and full.
- value
- The value of the entered date
Example
The following example shows the
code and output for the DojoDateTextBox widget.
dateBox DojoDateTextBox{errorMessage="The format of the date is incorrect.",
formatLength="long"};