I have a single form for adding a composit model that is laid out somthing like Vendor::Person::Address, Vendor::Outlet::Address and I need the html helper to genreate form inputs named: name="data[Person][Address][address1]" and name="data[Person][Address][address2]", etc.
I've tried : <?php echo $html->input('Person/Address/address1', array('id' => 'person_address_address1', 'size' => '40', 'value' => $addresses['Address']['address1'], )) ?> and even <?php echo $html->input('Person/Address/address1', array('name' => 'data[Person][Address][address1]', 'id' => 'person_address_address1', 'size' => '40', 'value' => $addresses['Address']['address1'], )) ?> But I end up with inputs like: name="data[Person][Address]" for all the inputs in the address model that I'm trying to incorporate into the form. Please help. -Stuart --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Cake PHP" group. To post to this group, send email to cake-php@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/cake-php -~----------~----~----~----~------~----~------~--~---