title: Codeigniter Setting rules for form_validation isn't working properly
body: <p>I am trying to validate 2 fields here, the "title" and the "HTML" field.</p>
  
  <p>I have this code:</p>
  
  <pre><code>$this-&gt;form_validation-&gt;set_rules('title', $this-&gt;input-&gt;post('title'), 'required|min_length[5]|max_length[255]');
  $this-&gt;form_validation-&gt;set_rules('html', $data['html'], 'required');
  if ($this-&gt;form_validation-&gt;run() == FALSE){
      echo 'Fail';
  }else{
      echo 'Success';
  }
  die();
  </code></pre>
  
  <p>I can confirm that both variables are valid strings.</p>
  
  <p>The function always returns false, even if both fields are valid. If I only set one rule for one field, then the function will return true if it is a success.</p>
  
  <p>Could somebody please advise?</p>
  
  <p>Many thanks indeed,</p>
  
  <p>Peter</p>