This can handy to write a survey, where most radios are "yes/no", "1,2,3,4 ..." " red, green, yellow", etc
case 'inline_radios':
$real_field = array(
'#prefix' => '<div class="container-inline">',
'#type' => 'radios',
'#title' => $field->title,
'#default_value' => $value,
'#options' => _forms_options($field->options),
'#description' => $field->explanation,
'#required' => $field->required,
'#suffix' => '</div>'
);
break;
Comments
Comment #1
quicksketchForms and survey modules are no longer being maintained, use Webform module instead.
---Closing down issue queue of survey module---