Welcome Guest, Not a member yet? Register   Sign In
Validation errors
#1

(This post was last modified: 10-18-2016, 07:26 PM by ciadmin.)

Why doesn't this throw any error, and always silently fails? Why is the third parameter optional?

PHP Code:
$this->form_validation->set_rules('field_name''some_rule|another_rule');
if(
$this->form_validation->run()) {
 
 //never executes
} else {
 
 //no errors generated
 
 echo validation_errors();

Reply


Messages In This Thread
Validation errors - by RBX - 10-18-2016, 12:35 PM
RE: Validation errors - by dave friend - 10-19-2016, 05:28 AM
RE: Validation errors - by Narf - 10-19-2016, 05:49 AM
RE: Validation errors - by Narf - 10-20-2016, 03:41 AM



Theme © iAndrew 2016 - Forum software by © MyBB