You can't really have two forms (without javascript/ajax hackery), but
you can submit a form with data from multiple models, to a single
action.

So, in your form just have fields for both models (ie
$html->input("Model1/name") ... $html->input("Model2/title") ), and in
your controller action that receives the form, look at
$this->data["Model1"] and $this->data["Model2"], and validate/save
accordingly.


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