3 Jun
2005
3 Jun
'05
5:27 p.m.
I'd rewrite the last part to
$elements['group1'] = array('type' => 'group', 'weight' => 1, 'title' => t('some title here'));
And then for elements: $elements['element1'] = array('type'=>'textfield', 'title'=> t('element 1'), 'value' => $_POST['edit']['element1'], 'default' => $obj->element1, 'weight' => 1, 'group' => 'group1');
How would you handle nested groups?