CakePHP Validators


Skipper supports CakePHP validators. Each field of entity can have one or more validators. Validators are defined as ORM properties. CakePHP proceeds validators in user defined order.

CakePHP validators in Skipper property editor

Hint: For deeper understanding of validator implemantation and customization possibilities see ORM Attributes.

Supported validators

Validator Non-standard parameters
alphaNumeric  
between minimum, maximum
blank  
boolean  
cc type, deep, regex
comparison operator, value
custom regex
date format
datetime dateFormat, regex
decimal decimal
email validate-host
equalTo value
extension value
fileSize operator, size
inList values
ip  
isUnique  
luhn deep
maxLength value
mimeType mimeTypes
minLength value
money position
multiple in, min, max
notEmpty  
numeric  
naturalNumber allowZero
phone reg-ex, country
postal reg-ex, country
range minimum, maximum
ssn reg-ex, country
time  
uploadError  
url strict
userDefined object, method, args
uuid