Good catch. I hadn't considered the default messages getting added to
the array.

Be careful of validateRequired calling validateNotEmpty. You'll want
to add a check for that error message as well or you'll see both
"field should not be empty" and "field is required" for the same field.


--~--~---------~--~----~------------~-------~--~----~
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?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to