Hi, Looking at your bespoke validation code there, you might want to simplify your code by using the built in rules, take a look at these two:
http://book.cakephp.org/view/139/comparison http://book.cakephp.org/view/472/isUnique Hope this helps, Richard On Sun, Jul 12, 2009 at 8:24 PM, Burgos <4bur...@gmail.com> wrote: > > OK. I found it: > > invalidate($fieldname, $message); > > I wonder why this doesn't exist in CutePHP API :-/. > > > --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---