To send it in an array, you have to either hack the $html->input fieldname parameter: echo $html->input ('Deposit/0][inicial'); echo $html->input ('Deposit/0][final'); echo $html->input ('Deposit/1][inicial'); echo $html->input ('Deposit/1][final'); (This is ugly, but should work--double check the generated code to make sure it matches what's below)
or code your inputs manually: <input type="text" name="data[Deposit][0][inicial]" /> <input type="text" name="data[Deposit][0][final]" /> <input type="text" name="data[Deposit][1][inicial]" /> <input type="text" name="data[Deposit][1][final]" /> And then when saving, loop through $this->params['data']['Deposit'] and save each one. --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---