If you set up your proper model associations, it should be done
automatically when you echo $form->input('task_id');Give the bake console a try first and bake your entire project (Models, Views, Controllers) -- it helped me immensely doing it that way the second time around vs. slogging through my first app doing things from scratch. On Tue, Jul 7, 2009 at 4:44 PM, menashe morobuse<[email protected]> wrote: > > for example i am having the following db setup... > > tasks > id (auto increment) (PK) > name > > notes > id (auto increment) (PK) > task_id > text > > the question is how can i pass in the create view the task id and auto > fill it... > meaning that i won't have to select it via a pull down menu... > > as u probably guess i am a complete noob... > so please be gentle :) > > thanks > > > > --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "CakePHP" 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 -~----------~----~----~----~------~----~------~--~---
