Validate given form field value. More...
Static Public Member Functions | |
static | validateField (\Duf::Form $form, $group_id, $field_id, $field_def, $value) |
Validate given form field value. More... | |
Validate given form field value.
|
static |
Validate given form field value.
Errors are injected directly into the form using Form::setFieldError().
Implemented in DateTimeInput, Reference, TextInput, EmailInput, NumberInput, and UrlInput.