form_valadation - 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_valadation (/showthread.php?tid=46758) |
form_valadation - El Forum - 11-14-2011 [eluser]R_Nelson[/eluser] i am using Code: $this->form_validation->set_rules('email_address', 'Email Address', 'trim|required|valid_email'); to validate my email i would like to take it 1 step further and have it check to see if that email is in the DB can this be done in the validation or do i just need to create an if statement after the validation? |