Re: Can I extend the fieldset to go around my custom fields?

raspberryheaven's picture
Offline
Joined: 09/23/2008
Juice: 47
Re: Can I extend the fieldset to go around my custom fields?

Also I just tested a field out that i made by adding

$form['base']['testfield'] = array(
    '#type' => 'textfield',
    '#title' => t('Testfiled'),
    '#default_value' => $node->testfield,
    '#required' => false);
   )

and even though it made the field, I couldn't get any thing i typed in it to show up after I had saved the form. So i made a field called testfield. Typed a value in it, it was just a text field and then save. the value wouldn't show up on the page.
Not sure what to do now...