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 [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 -~----------~----~----~----~------~----~------~--~---
