title: Codeigniter(3) form validation always returns FALSE for GET method
body: <p>codeigniter form validation is not working properly for <code>GET</code> method, it returns always false(even if all the input fields are correct) and not showing error messages. But when i tried with <code>POST</code> method, its working fine and showing error message if wrong input fields.</p>
  
  <p>Below is HTML form with 3 input fields and all are mandatory required fields which is i'm checking in validation.</p>
  
  <pre><code>            **&lt;form action="" method="get" name="ak-api-log" id="ak-api-log-form" autocomplete="off"&gt;**
                      &lt;div class="row"&gt;
                          &lt;div class="col-md-3"&gt;
                              &lt;div class="form-group"&gt;
                                &lt;label class="bmd-label-floating"&gt;API&lt;/label&gt;
                                **&lt;select name="ak_api_type" class="form-control"&gt;
                                  &lt;option value="all"&gt;All&lt;/option&gt;
                                  &lt;option value="admin"&gt;Admin&lt;/option&gt;
                                  &lt;option value="editor"&gt;Editor&lt;/option&gt;
                                &lt;/select&gt;**
                              &lt;?php echo form_error('ak_api_type', '&lt;div class="error"&gt;', '&lt;/div&gt;'); ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="col-md-3"&gt;
                              &lt;div class="form-group"&gt;
                                &lt;label class="bmd-label-floating"&gt;From&lt;/label&gt;
                                **&lt;input type="text" name="ak_api_from_date" class="form-control" id="ak-api-from-date""&gt;**
                                &lt;?php echo form_error('ak_api_from_date', '&lt;div class="error"&gt;', '&lt;/div&gt;'); ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="col-md-3"&gt;
                              &lt;div class="form-group"&gt;
                                &lt;label class="bmd-label-floating"&gt;To&lt;/label&gt;
                                **&lt;input type="text" name="ak_api_to_date" class="form-control" id="ak-api-to-date"&gt;**
                                &lt;?php echo form_error('ak_api_to_date', '&lt;div class="error"&gt;', '&lt;/div&gt;'); ?&gt;
                              &lt;/div&gt;
                          &lt;/div&gt;
                          &lt;div class="col-md-3"&gt;
                              &lt;button type="submit" id="userBtn" class="btn btn-primary pull-right"&gt;&lt;i class="fa fa-search"&gt;&lt;/i&gt; Search&lt;/button&gt;
                          &lt;/div&gt;
                      &lt;/div&gt;
                  **&lt;/form&gt;**
  </code></pre>
  
  <p>Below is my controller code. I've removed codes not necessary for the question. </p>
  
  <pre><code>public function api_log(){
      $this-&gt;form_validation-&gt;set_rules('ak_api_type', 'ak_api_type', 'required');
      $this-&gt;form_validation-&gt;set_rules('ak_api_from_date', 'ak_api_from_date', 'required');
      $this-&gt;form_validation-&gt;set_rules('ak_api_to_date', 'ak_api_to_date', 'required');
  
      if ($this-&gt;form_validation-&gt;run() == FALSE){
          $this-&gt;template-&gt;view(strtolower(__CLASS__).'/'.__FUNCTION__);
      }else {
          echo 'true';exit;
      }
   }
  </code></pre>
  
  <p>Quick solutions will be really appreciated. Thanks in advance!</p>