I think the problem I am having is that I am using validation rules on a model that does not have them defined so it simply reloads the page with no visible errors.
--Ryan
On 7/6/06, nate <[EMAIL PROTECTED]> wrote:
Okay, you're talking about validation rules. The messages in
tagErrorMsg are only triggered if you define validation rules for those
fields, and the data that you attempt to save doesn't meet the
validation criteria.
If you're talking about a database error when saving, you can check the
return value of Model::save, which should return false on failure.
--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---
- get error messages rpetrain
- Re: get error messages nate
- Re: get error messages Ryan Petrain
- Re: get error messages rpetrain
