The validation takes place using the model, so either you have to define the model with validation definitions in it, or you have to make the validation function yourself in the controller.
Look at "http://book.cakephp.org/view/125/Data-Validation" for further information on validation! It does not take a lot of time to define it! Enjoy, John On Apr 24, 7:32 am, Temujin <calebjo...@gmail.com> wrote: > I know this will make some MVC purists out there cringe, but is there > a way to manually call Validate routines from within the controller? > > I have a simple form that needs to validate multiple email addresses > and I don't want to make a model to handle just this one validation > check. > > Trying the following: > Validate::email($email) > > ... from the controller results in "Class 'Validate' not found". --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to cake-php+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/cake-php?hl=en -~----------~----~----~----~------~----~------~--~---