> I guess that makes sense.
>
> What I need is that input to add a new location. Is there a way to do
> that? I tried "Location.location" (instead of location_id) but it
> doesn't work.
If you're adding a new Location to be associated with the record,
(depending on how you want to go about it, i.e. what kind of form
element you want to use) you might do something like:
$form->input('Location.0.name');
or field(s) in Location's table you are wanting to provide data for
during creation/insertion.
--~--~---------~--~----~------------~-------~--~----~
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+unsubscribe@googlegroups.com
For more options, visit this group at http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---
No comments:
Post a Comment