On Nov 29, 2007 3:21 PM, Action <[EMAIL PROTECTED]> wrote: > > That doesn't help. I know how to set validation rules in errors. My > question is, how do I manually output those errors when a field > invalidates? For example, if the username field invalidates, what > variable stores the error message I defined in model so that I can > manually output it in the view? I want to know if there is something > like an invalid fields array that is created each time a form > validates?
Ah, I understand what you're getting at. Well, validation seems to be very tied into the form helper itself, so you may have to 'roll your own' to get what you need. I've never done anything like that, but people on this list probably have and some of the Elder Gods of CakePHP can probably tell you how you might be able to go and do it. -- Chris Hartjes My motto for 2007: "Just build it, damnit!" @TheKeyboard - http://www.littlehart.net/atthekeyboard --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" 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 -~----------~----~----~----~------~----~------~--~---
