Welcome Guest, Not a member yet? Register   Sign In
$this->validation->error_string VS validation_errors()
#1

[eluser]hendrik[/eluser]
In older versions of CI for my login I used $this->validation->error_string to set a custom message when a username + password is in not the db.

Eg. $this->validation->error_string = "Your username and/or password are incorrect.";

In CI 1.7, how do I set a custom error message that is displayed with validation_errors();

Thanks!


Messages In This Thread
$this->validation->error_string VS validation_errors() - by El Forum - 02-02-2009, 03:02 AM
$this->validation->error_string VS validation_errors() - by El Forum - 02-02-2009, 04:03 AM
$this->validation->error_string VS validation_errors() - by El Forum - 02-02-2009, 08:31 AM
$this->validation->error_string VS validation_errors() - by El Forum - 02-03-2009, 05:42 AM
$this->validation->error_string VS validation_errors() - by El Forum - 04-20-2009, 05:29 PM



Theme © iAndrew 2016 - Forum software by © MyBB