I have a custom form in a custom module with multiple select:
$form['sponsors'] = array( '#type' => 'select', '#options' => $sponsors, '#multiple' => TRUE, '#size' => 20, );
But I'm stumped how to access the submitted multiple values in the form_submit function. I tried to get the values by looping through the key (one guess was
$form['values']['sponsors'][$key]) but no luck... anyone can point me in right direction would be appreciated!