How do you set the #options paramater for checkboxes and radio buttons? I'm attempting to create a a form using the Form API and I'm unable to get checkboxes and radio buttons working properly. Although they show up in the form, only the first option of each one is displayed, that option is displayed with the title of the form:



I also have a select box on the page which is displaying fine, and I'm passing through the values to the select the same way I'm passing it through to the radio/checkboxes, with an array.

How do you pass values through to the #options parameter for checkboxes and radios, or do I simply having a careless error somewhere in my code (featured below)? 

Code for the radio buttons and checkboxes:

 $facts = array(
        'Ponycon' =&gt; t('Attended Ponycon'),
        'PurhcaseMerch' =&gt; t('Purhcased My Little Pony: Friendship is Magic merchandise (dolls, cards, shirts, et cetera)'),
        'PurchaseShow' =&gt; t('Purhcased Episodes'),
        'Meetups' =&gt; t('Attended Brony meet-ups'),
        'Fanclubs' =&gt; t('Part of a MY Little Pony: Friendship is Magic fanclub (Facebook, local, et cetera)'),
    );


$form['fan_activities'] = array(
    '#type' =&gt; 'checkbox',
    '#title' =&gt; t('Which of the following have you done?'),
    '#options' =&gt; $facts,
    '#description' =&gt; t('Brony activities'),
);

$fdisc = array(
    'friend' =&gt; t('A friend told me about it'),
    'ads' =&gt; t('Advertisments (commercials, billboards, et certera)'),
    'Internet' =&gt; t('The internet, but not through an ad (forum, website article, et cetera)'),
    'Other' =&gt; t('Other'),
);

$form['discoverry'] = array(
    '#type' =&gt; 'radio',
    '#title' =&gt; t('How did you first hear about My Little Pony: Friendship is Magic?'),
    '#options' =&gt; $fdisc,
    '#description' =&gt; t('How you discovered the show'),
);


Code for the working select box:

        $fchoices = array(
        'RainbowDash' =&gt; t('Rainbow Dash'),
        'TwilightSparkle' =&gt; t('Twilight Sparkle'),
        'Rarity' =&gt; t('Rarity'),
        'PinkiePie' =&gt; t('Pinkie Pie'),
        'Fluttershy' =&gt; t('Fluttershy'),
        'Applejack' =&gt; t('Applejack'),
    );

    $form['favpony_area']['favpony'] = array(
        '#type' =&gt; 'select',
        '#title' =&gt; t('Who is your favourite Pony from the mane six?'),
        '#options' =&gt; $fchoices,
        '#default_value' =&gt; variable_get('favpony', 'RainbowDash'),
        '#description' =&gt; t('Your favourite Pony frmo the mane six'),
    );
The only thing I could suggest would be to try using '#type' => 'radios' and '#type' => 'checkboxes' instead of radio and checkbox. I believe radio and checkbox without the s on the end only show one option as more of an on off option.

Try having a look at Forms API for more explanation