https://cakephp.lighthouseapp.com/projects/42648/tickets/2597-model-invalidfields-add-validation-messages-each-time-it-s-called
this answer from *Mark-story:* Yes, this is how it works. Since you are using lower level methods the validationErrors are not reset. You should use create() + save() to automatically flush errors. Or if you just want errors, you should access the Models->validationErrors property instead of calling invalidFields(). On Saturday, August 11, 2012 11:26:09 PM UTC+7, Shahruk Khan wrote: > > array( > 'email' => array( > (int) 0 => 'You must enter a proper email address.', > (int) 1 => 'You must enter a proper email address.' > ) > ) > > I get this response when all I have is one field called email in > $this->request->data. Any help please? > -- Like Us on FaceBook https://www.facebook.com/CakePHP Find us on Twitter http://twitter.com/CakePHP --- You received this message because you are subscribed to the Google Groups "CakePHP" group. To unsubscribe from this group and stop receiving emails from it, send an email to cake-php+unsubscr...@googlegroups.com. To post to this group, send email to cake-php@googlegroups.com. Visit this group at http://groups.google.com/group/cake-php?hl=en. For more options, visit https://groups.google.com/groups/opt_out.