title: Codeigniter form validation on pop up login
body: <p>I want to use the form validation library on CodeIgniter on my pop up login window, when an error occurs I want to echo the validation errors in my pop up window.</p>
  
  <pre><code>if ($this-&gt;form_validation-&gt;run()==FALSE){
      $this-&gt;load-&gt;view("header");
      $this-&gt;load-&gt;view("menu");
      $this-&gt;load-&gt;view("content");
  }
  </code></pre>
  
  <p>Because when the error occurs the views reload and the pop up window is closing
  Is there a way to manage to have my pop up window opened when the error occurs?</p>