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 cake-php@googlegroups.com
To unsubscribe from this group, send email to [EMAIL PROTECTED]
For more options, visit this group at http://groups.google.com/group/cake-php
-~----------~----~----~----~------~----~------~--~---

Reply via email to