Ok ... all is right ... But this 'start_date' field isn't a model's field but a date to do a search. I can use it like a Model.start_date but conceptually this is wrong.
On 11 Set, 11:04, WebbedIT <[email protected]> wrote: > When you move away from the conventions and things go wrong, it's so > much harder to debug. What does e($form->input > ('ModelName.start_date'); produce? > > It should produce > > <select id="ModelNameStartDate" name="data[ModelName][StartDate] > [day]"> ..... > <select id="ModelNameStartDateMonth" name="data[ModelName][StartDate] > [month]"> ..... > <select id="ModelNameStartDateYear" name="data[ModelName][StartDate] > [year]">.... > > I reckon the problem lies somewhere in the fact your resultant code > does not have a ModelName and your field is startDate (which should be > start_date using convention) yet your telling $form->input to use > starDate (missing 't'). --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
