3 Jun
2005
3 Jun
'05
5:30 p.m.
On Fri, 3 Jun 2005, vlado wrote:
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?
Do we have nested groups? Wasn't aware of this. I guess a group could be member of another group: $elements['group1'] = array('type' => 'group', 'group' => 'group2', 'weight' => 1, 'title' => t('some title here')); Cheers, Gerhard