//print $form_id;
// Change the standard 'selectbox' to 'radiobuttons'
if (($form_id == 'story_node_form') && ($form['taxonomy'])) {
//print $form['taxonomy']['1']['#type'];
$form['taxonomy']['1']['#type'] = 'radios';
//print $form['taxonomy']['1']['#type'];
}
}
Uncommenting both "print $form['taxonomy']['1']['#type'];" reveal that $form['taxonomy']['1']['#type'] was indeed set to use radio buttons instead of the normal dropdown select box.
Though, it does *not* renders it like radio buttons..
Has anyone an idea on why it isn't working? And how this could be fixed?
I'm using Drupal 5.2 for development of this particular domain atm.
Thank you for your time and help!
Stefan Nagtegaal