title: How to make a radio button return boolean true/false instead of on/off
body: <p>I want that my radio buttons return me a Boolean value true or false instade of on/off</p>
  
  <p>So I pass the true/false in the value of the input :   </p>
  
  <pre><code>&lt;label&gt;Male
     &lt;input type="radio" name="IsMale" value="true" /&gt;
  &lt;/label&gt; 
  &lt;label&gt;Female
     &lt;input type="radio" name="IsMale" value="false" /&gt;
  &lt;/label&gt;
  </code></pre>
  
  <p>but it returns me a true/false in a text format. Please masters how could I get them in a booleen format ?</p>
  
  <p>More details : In fact I need to store my $_POST array in a file.txt, and for my radio button I need to store for example : </p>
  
  <pre><code>array ( "IsMale" =&gt; true );
  </code></pre>
  
  <p>and not :</p>
  
  <pre><code>array ( "IsMale" =&gt; "true" );
  </code></pre>