See: http://book.cakephp.org/view/1182/Validating-Data-from-the-Controller
if ($this->Model->validates()): or, from within the model of the data you want to validate... if ($this->validates()): Jeremy Burns Class Outfit [email protected] http://www.classoutfit.com On 26 Aug 2010, at 22:39, sanedevil wrote: > heya! > is there a way to validate the data before submission using Cake? > > Thanks! > > Check out the new CakePHP Questions site http://cakeqs.org and help others > with their CakePHP related questions. > > You received this message because you are subscribed to the Google Groups > "CakePHP" group. > To post to this group, send email to [email protected] > To unsubscribe from this group, send email to > [email protected] For more options, visit this group at > http://groups.google.com/group/cake-php?hl=en Check out the new CakePHP Questions site http://cakeqs.org and help others with their CakePHP related questions. You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
