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. |