New to KendoReact? Start a free 30-day trial
Validation
You can setup validation on form or field level using the following propertes:
validator
property of the KendoReact Field componentvalidator
property of the KendoReact FieldArray componentvalidator
property of the KendoReact Form component
Field validation
Field level validation is useful for simple validation of single field value (e.g.: field is valid email). The validation function receives value
as first argument and expects validation message to be returned if value is not valid.
Change Theme
Theme
Loading ...
FieldArray validation
Field array level validation is useful for simple validation of arrays (e.g.: array have at least one record). The validation function receives value
as first argument and expects validation message to be returned if value is not valid.
Change Theme
Theme
Loading ...
Form validation
Form validation can be used for complex validation between more fields, where using the field level validation is not convenient.
Change Theme
Theme
Loading ...