Hi there,

I have a problem using validation in cakePHP.

I want to add an error dynamic in the controller to be viewed in the
view right there where the normal validation errors are shown.

I found the $this->ModelName->invalidFields(); function, which returns
all errors, but I found no function to add new errors.

Is there an easy way to do this or do I have to make "ugly" code?

Thanks in advance,
Sebastian
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to