Validate HTML5 <input type="datetime">
and similar fields.
More...
Static Public Member Functions | |
static | validateField (\Duf::Form $form, $group_id, $field_id, $field_def, $value) |
Validate given form field value. More... | |
Static Public Member Functions inherited from TextInput | |
static | validateField (\Duf::Form $form, $group_id, $field_id, $field_def, $value) |
Check simple text input. | |
Static Protected Attributes | |
static | $format = '%Y-%m-%d %H:%M:%S' |
Expected format. | |
Validate HTML5 <input type="datetime">
and similar fields.
|
static |
Validate given form field value.
Errors are injected directly into the form using Form::setFieldError().
Implements IFieldValidator.