I just ran into the same issue. In my case, I wanted the form to use method="get" (or type=>get). This causes cakephp (1.2.5) to use the wrong string for the name. The id attribute is correctly named, but not the name attribute. Is this a bug?
Not sure if this is your issue or not, but I did a lot of testing and they type=>get is the problem for me. On Sep 14, 12:07 pm, WebbedIT <[email protected]> wrote: > Try: $form->input(StartDate, array('type'=>'date', > 'id'=>'StartDate')); > > You should get: > > <select id="StartDate"name="data[StartDate][day]"> ..... > <select id="StartDateMonth"name="data[StartDate][month]"> ..... > <select id="StartDateYear"name="data[StartDate][year]">.... --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
