Up to now the validation support consisted of four constants (VALID_NOT_EMPTY, VALID_NUMBER, VALID_EMAIL, and VALID_YEAR), everything else you had to do yourself. The new validation class in CakePHP 1.2 is a bit more powerful ;-) The aforementioned constants still work in 1.2, but they are deprecated, so for new code you shouldnât use them. The usage of the new validation rules follows the followi
{{#tags}}- {{label}}
{{/tags}}