I am trying to set the default values for a Varien_Data_Form
$defaultValues = array(
‘abc’ => ‘true’,
‘bbc’ => 1,
‘ddc’ => ‘checked’
$form->setValues( $defaultValues );
all three elements are checkboxes and none of the above versions works.
In ZF I think the Zend_Form_Element had a method setAttribute(’checked’, ‘checked’) but Varien Form Element seems not to inherit from Zend.
What is the correct way to check it in Magento?