Hello, Sorry for my English.
I am working on a cakephp shell, I want to validate some data from my shell. I use $this->model->invalidFields(); to retrieve all the errors. My problem is CAKEPHP returns the last error or the error defined by the property last = true and I want to retrieve all errors who are appeared. For example,the field "number_identify" must have a minimum of 15 characters and no letters. For the "12345678AZ" value, CAKEPHP returns the rule "no letters" and if I solve this error, CAKEPHP returns the first rule. My question is how retrieve both ? Thank -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
