Welcome Guest, Not a member yet? Register   Sign In
Form Validation, validation->error_string not displaying
#1

[eluser]freakish777[/eluser]
So following the instructions here, when I don't fill out the form correctly I don't see the error string above my re-loaded form. However when I switch:

Code:
if ($this->validation->run() == FALSE)
{
   $this->load->view('myForm');
}

to:
Code:
if ($this->validation->run() == FALSE)
{
   echo $this->validation->error_string;
}

I do in fact see the error string.

Has anyone else experienced something similar? Is there some type of scope issue on the variables? I would imagine once they're set they'd be accessible in any of the views you load them in later...


Messages In This Thread
Form Validation, validation->error_string not displaying - by El Forum - 10-26-2008, 08:06 PM



Theme © iAndrew 2016 - Forum software by © MyBB