Jet\Form_Field_DateTime / Form_Field::TYPE_DATE_TIME

Represents a form field for entering the date and time.

The Jet\Form_Renderer_Field_Input_Common renderer is used to display the form field itself.

Default error codes

Code Meaning of
Form_Field::ERROR_CODE_EMPTY The field is marked as required and the value is not specified.
Form_Field::ERROR_CODE_INVALID_FORMAT The value entered is not a valid date and time.
Previous chapter
Jet\Form_Field_Date / Form_Field::TYPE_DATE
Next chapter
Jet\Form_Field_Month / Form_Field::TYPE_MONTH