All the other form elements render properly. Radios and Checkboxes do not. The title and descriptions show up, but not the boxes or radios.
$options7 = array(); foreach ($resqry1 as $option) { $options7[$option->id] = $option->id; } $form = array(); $form['lis'] = array( '#type' => 'checkboxes', '#options' => $options7, ); return $form;
Please help me out. Thanks