Welcome Guest, Not a member yet? Register   Sign In
Form Validation (Twice)
#1

[eluser]PV-Patrick[/eluser]
Is it possible to run a validation process twice, one inside the other?

Example:
Code:
if($this->form_validation->run('val1') == FALSE):
  // -- False
else:
    if($this->form_validation->run('val2') == FALSE):
        // -- False
    else:
    endif;
endif;

For some reason I can't seem to get it to work... any help would be appreciated, thanks!


Messages In This Thread
Form Validation (Twice) - by El Forum - 02-06-2009, 04:51 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 05:54 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 05:57 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 06:06 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 06:15 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 06:20 PM
Form Validation (Twice) - by El Forum - 02-06-2009, 07:33 PM
Form Validation (Twice) - by El Forum - 02-07-2009, 02:30 PM
Form Validation (Twice) - by El Forum - 02-12-2009, 12:08 AM
Form Validation (Twice) - by El Forum - 02-13-2009, 08:58 AM



Theme © iAndrew 2016 - Forum software by © MyBB