/
Model Validators
Model Validators
Table of all build-in field's validators of the Qcadoo Framework.
Validator | Description | XML tag name | Applied for |
---|---|---|---|
Length Validator | validate string length | validatesLength | string, text, password, dictionary |
Range Validator | validate range | validatesRange | integer, decimal, string, text, password, date, datetime, dictionary |
Unscaled Value Validator | validate integer length (number of digits before the comma) | validatesUnscaledValue | integer, decimal |
Scale Validator | validate scale (number of digits after the comma) | validatesScale | decimal |
Regular Expression Validator | validate with regular expression | validatesRegexp | integer, decimal, string, text, password, date, datetime, dictionary |
Custom Validator | validate whole entity (model unit) with custom method | validatesWith | hooks |