Tuesday, September 29, 2009

Re: Question on the method input of Form helper relative to type 'date'

Sorry I have mistaked :-)

I would get:

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


On 18 Set, 12:05, WebbedIT <p...@webbedit.co.uk> wrote:
> now I've stared at them for 5 mins and I am certain they are
> identical :P
>
> On Sep 17, 8:17 am, byqsri <marco.rizze...@gmail.com> wrote:
>
> > I get
>
> > <select id="ModelNameStartDate" name="data[ModelName][StartDate]
> > [day]"> .....
> > <select id="ModelNameStartDateMonth" name="data[ModelName][StartDate]
> > [month]"> .....
> > <select id="ModelNameStartDateYear" name="data[ModelName][StartDate]
> > [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]">....
>
> > > 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 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: