in your controller :
...
$this->MyModel->set($this->data);
if ($this->MyModel->validates()) {
...or, if using CakePHP 1.2.x.x : if ($this->MyModel->create($this->data) and $this->MyModel- >validates()) the array shouldn't be empty any more in beforeValidate function --~--~---------~--~----~------------~-------~--~----~ 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?hl=en -~----------~----~----~----~------~----~------~--~---
