Welcome Guest, Not a member yet? Register   Sign In
Don't know how to word this question. Sorry
#2

[eluser]pickupman[/eluser]
Congrats on finding CI, and welcome to the forums. You can create multiple if statements for your form validation rules.
Code:
$this->form_validation->set_rules('userID', 'user id', 'required|trim');
if(isset($this->input->post('userID'))
   $this->form_validation->set_rules('security_question1', 'security question', 'required|trim');

if($this->form_validation->run()){
  //Process reset password
}


Messages In This Thread
Don't know how to word this question. Sorry - by El Forum - 04-22-2011, 03:27 AM
Don't know how to word this question. Sorry - by El Forum - 04-22-2011, 11:47 AM
Don't know how to word this question. Sorry - by El Forum - 04-22-2011, 12:04 PM



Theme © iAndrew 2016 - Forum software by © MyBB