On Dec 17, 10:05 pm, gearvOsh <[email protected]> wrote:
> Oh but the extra code is for extra form validation on my end.
Model logic.
> Using
> invalidate() adds errors to the array that I can then loop through and
> display in the view (I dislike having the error show up after the
> input).
>
So don't use the input-errors - loop on $this->validationErrors.
IMO there is no 'excuse' for doing what you're doing - it's model
logic.
AD
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---