I get also the model name .
Is it possible to obtain:

<select id="starDateDay" name="data[starDate][day]"> .....
<select id="starDateDay" name="data[starDate][month]"> .....
<select id="starDateDay" name="data[starDate][year]">....

Instead of:

<select id="ModelNameStartDate" name="data[ModelName][StartDate]
[day]"> .....
<select id="ModelNameStartDateMonth" name="data[ModelName][StartDate]
[month]"> .....
<select id="ModelNameStartDateYear" name="data[ModelName][StartDate]
[year]">....


On 14 Set, 09:38, WebbedIT <p...@webbedit.co.uk> wrote:
> Sure:
>
> $form->input(StartDate, array('type'=>'date'));
--~--~---------~--~----~------------~-------~--~----~
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+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/cake-php?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to