Most form data that comes from elements created with HtmlHelper or
FormHelper are available in the Controller in $this->data.  Everything
else is in $this->params['form'].

As far as validation, if you're calling $Model->save($this->data), then
$this->data should be available in the model.  Otherwise, call
$Model->set($this->data), and then validate().  However, unless you
have some specific need to do so, you shouldn't need to call validate()
before saving, since save() validates automatically, and will return
false if validation fails.


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