![]() |
form validation and log-in - Printable Version +- CodeIgniter Forums (https://forum.codeigniter.com) +-- Forum: Archived Discussions (https://forum.codeigniter.com/forumdisplay.php?fid=20) +--- Forum: Archived Development & Programming (https://forum.codeigniter.com/forumdisplay.php?fid=23) +--- Thread: form validation and log-in (/showthread.php?tid=45412) |
form validation and log-in - El Forum - 09-20-2011 [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() ? |