I think actually looking at the code won't help much. It's a pretty
simple model.

In the models, Contact.firstname and Contact.lastname are both set to
VALID_NOT_EMPTY.

In the controller, adding a new record fails (as it should) on blank,
but if you add a space it marks it correctly.

Now later when I want to do an automatic update (e.g., set the
Contact.emailed value to 'Y') it fails because when I attempt a
$this->Contact->save($contact) it tries to save it with a blank last
name and kicks it out.

Does that make sense?


--~--~---------~--~----~------------~-------~--~----~
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
-~----------~----~----~----~------~----~------~--~---

Reply via email to