Of course one other way of seeing what the $form object contains is just doing a var_dump($form); and working back from there
On Mon, Nov 9, 2009 at 4:59 PM, cosmy <c.zec...@gmail.com> wrote: > > Yes documentation is a great thing but maybe i haven't explained well > the situation. > I don't want to access the widget of the main form but a child one. > My form embed several forms of the same class, so the widgets of these > forms have the same names, but not the forms (I numerate them while > embedding). > My question is not how to access a different widget in the template, > but how to access a different child form (and so of course its > widgets). > I've read the documentation but it doesn't consider this case. > > I hope to have been more clear in the explanation, thank you for the > response. > > On 9 Nov, 11:31, Gareth McCumskey <gmccums...@gmail.com> wrote: > > <?php echo $form['widget1']->render() ?> > > <?php echo $form['widget2']->render() ?> > > > > Documentation is a wonderful thing: > > > > http://www.symfony-project.org/forms/1_2/en/03-Forms-for-web-Designer... > > > > -- Gareth McCumskey http://garethmccumskey.blogspot.com twitter: @garethmcc --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "symfony users" group. To post to this group, send email to symfony-users@googlegroups.com To unsubscribe from this group, send email to symfony-users+unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/symfony-users?hl=en -~----------~----~----~----~------~----~------~--~---