You can use Model::invalidate(); Johnathan Henderson wrote: > Is there a way to activate and set the text of a $form->error outside > a validation rule? I've got some complicated validation logic in the > controller and I would like the error to show near the offending field > instead of using setFlash. > > -John > > > >
--~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---