In module I have Form.php . I have added Checkbox code which is as follows.
$fieldset->addField('title', 'checkboxes', array(
'label' => Mage::helper('custommodule')->__('Title'),
'class' => 'validate-one-required-by-name',
'required' => true,
'name' => 'title[]',
'values' => array(
array('value'=>'aaa','label'=>'Checkbox1'),
array('value'=>'bbb','label'=>'Checkbox2'),
array('value'=>'ccc','label'=>'Checkbox3'),
),
'onclick' => "",
'onchange' => "",
'disabled' => false,
'tabindex' => 1
));
I have added class field in it. 'class' => 'validate-one-required-by-name', but it doesnt applied to output. If you have any other way to apply class to checkbox through JQuery. Please let me know.