form validation and log-in |
[eluser]dwlamb[/eluser]
I'm m new to CI and am adding a log-in/authentication add-on to my application called SimpleLoginSecure. This particular add-on does not have any forms, which is ok for I'll create my own. I am having a challenge with the logic of form validation and steps after the form is submitted. From the form validation tutorial, there's this key ingredient Code: if ($this->form_validation->run() == FALSE) { For my log-in, there's this simple function: Code: function login() Is it necessary to load a formsuccess once validation is TRUE or can I direct CI to go to function login() ? |
Welcome Guest, Not a member yet? Register Sign In |