| Validator Catalog Home | Docs Home |
BasicValidator reference
This is the basic validator implementation. All other validators extends this one.
Here are the Default Validator Messages
| configuration entries reference | |
|---|---|
| Key | Description |
| required | If set to true or 1 if the validator check for the value to be not empty |
| info | Custom info to be used in validator message |
| minLength | If set checks for minimum length |
| maxength | If set checks for maximum length |
| Default | false |
|---|---|
| Example | true |
| error message key | error.required |
| error message params | 0 - field label |
| Since | 0.7.4.6 |
| Default | (no default, optional) |
|---|---|
| Example | alternate text |
| Since | 0.7.4.6 |
| Default | (no default, optional) |
|---|---|
| Example | 2 |
| error message key | error.length.min |
| error message params |
0 - field label 1 - length 2 - minLength |
| Since | 0.7.4.6 |
| Default | (no default, optional) |
|---|---|
| Example | 10 |
| error message key | error.length.max |
| error message params |
0 - field label 1 - length 2 - maxLength |
| Since | 0.7.4.6 |