Welcome Guest, Not a member yet? Register   Sign In
Input hidden
#34

[eluser]InsiteFX[/eluser]
Your Form Validation is backwards!

Code:
if ($this->form_validation->run() == FALSE)
{
    $this->load->view('myform');
}
else
{
    // this is where you should be checking your input->post()
    $this->load->view('formsuccess');
}


Messages In This Thread
Input hidden - by El Forum - 01-31-2012, 02:18 PM
Input hidden - by El Forum - 01-31-2012, 02:32 PM
Input hidden - by El Forum - 01-31-2012, 02:35 PM
Input hidden - by El Forum - 01-31-2012, 02:36 PM
Input hidden - by El Forum - 01-31-2012, 02:46 PM
Input hidden - by El Forum - 01-31-2012, 02:49 PM
Input hidden - by El Forum - 01-31-2012, 02:50 PM
Input hidden - by El Forum - 01-31-2012, 02:53 PM
Input hidden - by El Forum - 01-31-2012, 02:53 PM
Input hidden - by El Forum - 01-31-2012, 02:55 PM
Input hidden - by El Forum - 01-31-2012, 02:56 PM
Input hidden - by El Forum - 01-31-2012, 02:59 PM
Input hidden - by El Forum - 01-31-2012, 03:00 PM
Input hidden - by El Forum - 01-31-2012, 03:03 PM
Input hidden - by El Forum - 01-31-2012, 03:08 PM
Input hidden - by El Forum - 01-31-2012, 03:13 PM
Input hidden - by El Forum - 01-31-2012, 03:16 PM
Input hidden - by El Forum - 01-31-2012, 03:19 PM
Input hidden - by El Forum - 01-31-2012, 03:32 PM
Input hidden - by El Forum - 01-31-2012, 03:46 PM
Input hidden - by El Forum - 01-31-2012, 03:49 PM
Input hidden - by El Forum - 01-31-2012, 03:51 PM
Input hidden - by El Forum - 01-31-2012, 03:52 PM
Input hidden - by El Forum - 01-31-2012, 03:58 PM
Input hidden - by El Forum - 01-31-2012, 04:03 PM
Input hidden - by El Forum - 01-31-2012, 04:06 PM
Input hidden - by El Forum - 01-31-2012, 04:24 PM
Input hidden - by El Forum - 02-01-2012, 02:15 AM
Input hidden - by El Forum - 02-01-2012, 02:18 AM
Input hidden - by El Forum - 02-01-2012, 02:46 AM
Input hidden - by El Forum - 02-01-2012, 02:51 AM
Input hidden - by El Forum - 02-01-2012, 02:58 AM
Input hidden - by El Forum - 02-01-2012, 03:02 AM
Input hidden - by El Forum - 02-01-2012, 03:10 AM
Input hidden - by El Forum - 02-01-2012, 04:44 AM



Theme © iAndrew 2016 - Forum software by © MyBB