If I use echo $form->year('test.0.variables', 2008, 2010); with 3
fields then it works
I think that is a bug of cake
Can someone help me to control where is the problem?
Many ThanksOn 5 Ott, 16:08, byqsri <[email protected]> wrote: > Can someone give me anu suggestion? > Many thanks > > On 5 Ott, 11:10, byqsri <[email protected]> wrote: > > > > > > > > > Hi , I have a problem with the helper Form with the method year when I > > have field with name that are some incapsulated array . > > For example If I write : > > echo $form->year('test.0.variables.test', 2008, 2010); . > > The name of the resulting select is wrong > > instead of data[test][0][variables][test] it is data[NameofModel] > > > The form->select('test.0.variable.test') instead works perfecly > > I use cake 1.2.9 > > Many Thanks -- Our newest site for the community: CakePHP Video Tutorials http://tv.cakephp.org Check out the new CakePHP Questions site http://ask.cakephp.org and help others with their CakePHP related questions. To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/cake-php
