• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.