title: $form->input to create a radio button using CakePHP
body: <p>I am using jQuery and CakePHP for my application.</p>
  
  <p>In my application with the data that I have saved in the database, for example if the Field type column is text then I am generating a text box in my code using $form->input();</p>
  
  <p>If it is a dropdown box, I am generating it using:</p>
  
  <pre><code>echo $form-&gt;input($r['Attribute']['label'],
      array('id'=&gt;$r['Attribute']['id'],'name'=&gt;$r['Attribute']['label'],
          'options' =&gt; array(1,2,3,4,5))); 
  </code></pre>
  
  <p>Now I have a field of type "Radio button". I am trying to create the radio box in CakePHP.
  Is it possible... If so how?</p>