I made radio buttons with the forms api using this code:
"sex" => array(
'#type' => 'radios',
'#title' => t('Sex'),
'#options' => array(t('M'), t('F')),
)
It works perfectly, but instead of storing an M or an F in the database, it stores a 0 or a 1. How can I decide what value is stored for each option?