The title kind of says it all. Is there any way to make the fieldset not collapsible, or just set to default open?

Comments

wxman’s picture

Never mind. I forgot you can do it through the template:
$form['scheduler_settings']['#collapsed'] = FALSE;

eric-alexander schaefer’s picture

Status: Active » Closed (fixed)

I'm glad I could help... ;-)

wxman’s picture

You're just so good.

eric-alexander schaefer’s picture

I know. I can even implant the solution into your brain over a distance of several thousand miles... ;-)

dadderley’s picture

Thanks for the pointer.
This works well in the template:

function themename_theme() {
   return array(
     // The form ID.
     'event_node_form' => array(
       // Forms always take the form argument.
       'arguments' => array('form' => NULL),
     ),
   );
}

function themename_event_node_form($form) {
	$output = '';
	$form['scheduler_settings']['#collapsed'] = FALSE;  
	$output .= drupal_render($form);
  	return $output;
}
nicothezulu’s picture

Nice! Thanks for info! Love u guys :D