Welcome Guest, Not a member yet? Register   Sign In
[SOLVED] Form validation always returning FALSE
#6

[eluser]LuckyFella73[/eluser]
Hi,

I tried your code and it's working. The only difference I see between yours
and the code I have in the welcome controller:
Code:
class Welcome extends Controller {

    function Welcome()
    {
        parent::Controller();    
    }

But maybe it's not causing the error .. don't know

Did you try some debugging like echo $this->input->post('username')
in your welcome/form method to check if the form posts the values?
Try to isolate the error step by step.

BTW: take "valid_email" as rule for your email field. This way the field
is requiered and checked for the right syntax


Messages In This Thread
[SOLVED] Form validation always returning FALSE - by El Forum - 08-23-2010, 07:45 PM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 12:56 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 01:01 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 06:26 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 07:22 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 08:28 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 08:43 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 10:36 AM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 01:53 PM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 02:06 PM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 03:24 PM
[SOLVED] Form validation always returning FALSE - by El Forum - 08-24-2010, 03:38 PM



Theme © iAndrew 2016 - Forum software by © MyBB