New to Kendo UI for Vue? Start a free 30-day trial

Validation

You can setup validation on form or field level using the following properties:

Field validation

Field level validation is useful for simple validation of single field value (for example.: field is valid email). The validation function receives value as first argument and expects validation message to be returned if value is not valid.

Example
View Source
Change Theme:

FieldArray validation

Field array level validation is useful for simple validation of arrays, such as ensuring the array contains a minimum number of records. The validation function receives value as first argument and expects validation message to be returned if value is not valid.

Example
View Source
Change Theme:

Form validation

Form validation can be used for complex validation between more fields, where using the field level validation is not convenient.

Example
View Source
Change Theme: