I think that in order to work you need to specify the model name in $form->create(), you should check that the form with no "formating" have the right model. And if it belongs to a form for another model, I think you'll have to added the type parameter to the input by hand.
JmN On 9 dic, 13:57, Pillow <[EMAIL PROTECTED]> wrote: > Dear Cake People, > > I hope you can assist with this confusing issue. > I am building an application in which several tables contain > advert_start_date and advert_end_date fields. In MySQL they are set as > the DATE type. > The problem I am experiencing is that in the forms for one controller, > the input is 'automagically' created as drop-down selection boxes for > year, month, day. However, in other controllers only a simple text box > is rendered. > I cannot figure out why the forms are produced differently. The field > names are identical, the data types identical. The views have just all > been baked at this stage and contain no specific formatting details. > Are there any other factors which could be affecting the 'automagic' > behaviour? > Thanks in advance, > Ed --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
