> Also, I thought it would be worth mentioning that if you don't want to
> specify the error messages in the view, you can also set them in your
> beforeValidate() function.


thx for this hint, i like it more that way

but my problem was at another place.. i should had pasted this one:

if ($this->Contact->validates($this->data))

of course it should be

$this->Contact->set($this->data);
if ($this->Contact->validates())


thx for your help anyway...

--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"CakePHP" group.
To post to this group, send email to cake-php@googlegroups.com
To unsubscribe from this group, send email to 
cake-php+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to