I have a checkbox form element that uses taxonomy terms via variable_get
as #default_value
; storing the result. I don't want to overwrite value, I just want the form to render/display checked initially.
$form['search_block_topic'] = array(
'#type' => 'checkboxes',
'#options' => $topic_options,
'#default_value' => variable_get('search_topic_options', $topic_options)
I tried
'#return_value' => "checked"
which doesn't work.