title: I am facing issues in radios validation in magento
body: <p>i have added the radios field in magento but i have problem in validation it show the all radios are required, and when i select an option it gave me error for other options.</p>
  
  <p>here is my code:</p>
  
  <pre><code>&lt;?php 
  
  $fieldset-&gt;addField('size', 'radios',
                         array(
                            'label' =&gt; Mage::helper('moduelname')-&gt;__('Maximum rim size you can handle
  '),
                            'class' =&gt; 'required-entry',
                            'required' =&gt; false,
                             'name' =&gt; 'size',
                             'values' =&gt; array(array('value' =&gt; '17', 'label'=&gt;'17 inch'),
                                         array('value' =&gt;'18', 'label'=&gt;'18 inch'),
                                         array('value' =&gt;'19', 'label'=&gt;'19 inch')
                                        ,array('value' =&gt;'20', 'label'=&gt;'20 inch')
                                        ,array('value' =&gt;'21', 'label'=&gt;'21 inch')
                                        ,array('value' =&gt;'22', 'label'=&gt;'22 inch')
                                        ,array('value' =&gt;'23', 'label'=&gt;'23 inch')
                                        ,array('value' =&gt;'24', 'label'=&gt;'24 inch')
                                        ,array('value' =&gt;'25', 'label'=&gt;'25 inch'),),
                      ));
  
  ?&gt;
  </code></pre>