title: CakePHP : Read values of a radio form
body: <p>I'd like to read the values of a form I'm trying to use :</p>
  
  <pre><code>&lt;!-- File: src/Template/Users/edit.ctp --&gt;
  &lt;?php
      echo '&lt;p&gt;Question 1 text&lt;/p&gt;';
      echo $this-&gt;Form-&gt;radio(
      'answer_1',
      [
      ['value' =&gt; 'true', 'text' =&gt; 'Radio 1 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 2 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 3 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 4 text'],
      ]
      );
  
      echo '&lt;p&gt;Question 2 text&lt;/p&gt;';
      echo $this-&gt;Form-&gt;radio(
      'answer_2',[
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 1 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 2 text'],
      ['value' =&gt; 'true', 'text' =&gt; 'Radio 3 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 4 text'],
      ]
      );
  
      echo '&lt;p&gt;Question 3 text&lt;/p&gt;';
      echo $this-&gt;Form-&gt;radio(
      'answer_3',[
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 1 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 2 text'],
      ['value' =&gt; 'false', 'text' =&gt; 'Radio 3 text'],
      ['value' =&gt; 'true', 'text' =&gt; 'Radio 4 text'],
      ]
      );
  
  echo $this-&gt;Form-&gt;button(__("Save"));
  echo $this-&gt;Form-&gt;end();
  ?&gt;
  </code></pre>
  
  <p>I would like in my edit function to read the values of the submitted radios, in order to calculate a score for each "true". Do you know how to do it in my controller ? Neither the questions nor the answers are stored in DB, they're hard-coded in the view.</p>
  
  <p>Bonus point : I'd like to save a specific answer of the form in DB, in that possible ? For example, a bonus question :</p>
  
  <pre><code>echo '&lt;p&gt;Bonus question text&lt;/p&gt;';
  echo $this-&gt;Form-&gt;control('bonus_answer');
  </code></pre>
  
  <p>Thanks</p>