Welcome Guest, Not a member yet? Register   Sign In
SOLVED: form validation set_message() going nuts "Unable to access an error message corresponding to your field name." e
#4

[eluser]atno[/eluser]
bah, i moved
Code:
$val->set_message('char_check','You doent exist :). You might want to register first.');
under
Code:
set_rules
and it's working now :S

Code:
$val = $this->form_validation;
            $val->set_error_delimiters('<div class="error">', '</div>');
            $val->set_rules('char','character name','trim|required|alpha_numeric|callback_char_check');
            $val->set_rules('pass','password','trim|required|alpha_numeric|min_length[5]|max_length[10]|callback_pass_check');
            $val->set_message('char_check','You doent exist :). You might want to register first.');


Messages In This Thread
SOLVED: form validation set_message() going nuts "Unable to access an error message corresponding to your field name." e - by El Forum - 05-11-2011, 08:17 AM



Theme © iAndrew 2016 - Forum software by © MyBB