Welcome Guest, Not a member yet? Register   Sign In
n00b asking about CI validation feature
#4

[eluser]RogerM[/eluser]
Simply add any code you need to.
The views were just an example. If it fails then it goes to the form with the Error message, else goes to the success form page/script.

Code:
if ($this->validation->run() == FALSE)
        {
            //reload form if failure occurs
        }
        else
        {
            //load success form validation
        }

Roger


Messages In This Thread
n00b asking about CI validation feature - by El Forum - 10-22-2008, 12:17 AM
n00b asking about CI validation feature - by El Forum - 10-22-2008, 12:39 AM
n00b asking about CI validation feature - by El Forum - 10-22-2008, 12:45 AM
n00b asking about CI validation feature - by El Forum - 10-22-2008, 12:52 AM



Theme © iAndrew 2016 - Forum software by © MyBB