Skip to content
On this page

Validation

Client side validation is handled by vee-validate v4

Available Rules

Field Validation

Code Example

html
<IuInput name="First Name" validations="required"></IuInput>

Live Demo

Custom Validation

INFO

Custom validation registration is only available if you use registerVueForm method. If you are using a Vue application you can register rules using the vee-validate helpers in your app setup process.

You can provide custom validation rules for your form. A rule is an Object with the following structure:

  • rule: vee-validate compatible function that checks the given values.
  • message: Optional string or Object ({de: message})to provide messages for your validation

For further Information check the vee-validate docs: https://vee-validate.logaretm.com/v4/guide/global-validators#configuring-global-validators