Skip to main content
11 events
when toggle format what by license comment
Jun 4, 2012 at 18:14 comment added avpaderno You can just add a children, as theme_fieldset() uses the following code to add the children item: $output .= $element['#children'];. $element['#children'] can be the HTML rendering more items, thought, which means the output of other theme functions, or drupal_render().
Jun 4, 2012 at 17:11 comment added freddyparisi Is it possible to add more than one children in the fieldset?
Jun 4, 2012 at 16:56 comment added avpaderno Yes, it is, as long as you use a different argument for each call to theme('fieldset').
Jun 4, 2012 at 16:26 comment added freddyparisi return theme('fieldset', array('element' => $fieldset)). theme('fieldset', array('element' => $fieldset)); It's ok in this way?
Jun 4, 2012 at 11:30 comment added freddyparisi Replicate the code in your example n-times?
Jun 4, 2012 at 11:26 comment added avpaderno You need to call theme('fieldset') for each fieldset.
Jun 4, 2012 at 11:24 comment added freddyparisi And in which mode can I insert multiple fieldset? If I copy the piece of the code, it returns only the first.
Jun 4, 2012 at 11:09 comment added freddyparisi Yes, thank you but now I need to add: <legend class=\"gestioneinterna\"></legend> because it's a class on my CSS for format title and other. Where can I insert it? And now I need to view the result of some queries using fieldset.
Jun 4, 2012 at 10:42 history edited avpaderno CC BY-SA 3.0
expanded answer
Jun 4, 2012 at 9:50 history edited avpaderno CC BY-SA 3.0
added 1157 characters in body
Jun 3, 2012 at 20:34 history answered avpaderno CC BY-SA 3.0