title: Why `set_radio` doesn't work when "form_validation" is included?
body: <p>I am calling a view</p>
  
  <pre><code>function index() {
      $this-&gt;load-&gt;helper("form");
      $this-&gt;load-&gt;library("form_validation");
  
      $this-&gt;load-&gt;view("index");
  }
  </code></pre>
  
  <p>And then I have</p>
  
  <pre><code>&lt;?php echo form_open(); ?&gt;
  
  &lt;input type="radio" name="radioname" value="x" &lt;?php echo set_radio("radioname", "x", true); ?&gt; /&gt;
  &lt;input type="radio" name="radioname" value="y" &lt;?php echo set_radio("radioname", "y"); ?&gt; /&gt;
  
  &lt;/form&gt;
  </code></pre>
  
  <p>At the first load I get the first radio checked. If I post the form the value goes successfully to <code>$this-&gt;input-&gt;post()</code>. But none of the radio boxes get checked. If I don't load the validation the code works.</p>
  
  <p>I dug the code and found that if the <code>form_validation</code> is loaded it behaves differently.</p>
  
  <pre><code>$OBJ =&amp; _get_validation_object();
  
  if ($OBJ === FALSE)
  {
      // returns formhelper set_radio
  }
  
  // this doesn't make sense for me
  return $OBJ-&gt;set_radio($field, $value, $default);
  </code></pre>
  
  <p>If the <code>form_validation</code> is loaded it executes the <code>set_radio</code> from <code>$OBJ</code>, but it doesn't work.</p>
  
  <p>What exactly is <code>$OBJ</code> in this context? What do I have to change to make it work?</p>