Model Validators

Table of all build-in field's validators of the Qcadoo Framework.

ValidatorDescriptionXML tag nameApplied for
Length Validatorvalidate string lengthvalidatesLengthstring, text, password, dictionary
Range Validatorvalidate rangevalidatesRangeinteger, decimal, string, text, password,
date, datetime, dictionary
Unscaled Value Validatorvalidate integer length
(number of digits before the comma)
validatesUnscaledValueinteger, decimal
Scale Validatorvalidate scale
(number of digits after the comma)
validatesScaledecimal
Regular Expression Validatorvalidate with regular expressionvalidatesRegexpinteger, decimal, string, text, password,
date, datetime, dictionary
Custom Validatorvalidate whole entity (model unit)
with custom method
validatesWithhooks