Welcome Guest, Not a member yet? Register   Sign In
validation error messages and Ajax
#3

[eluser]Ajaxian64[/eluser]
To sump up the question would be:
Do the validation process with our own check function work with ajax call ?

I mean It seems that
Code:
$this->form_validation->set_rules('dateEvent', 'Date', 'required|callback_dateEvent_check');

function dateEvent_check() {
$this->form_validation->set_message('dateEvent', 'Date bla bla bla');
return false;
}
This mechanism doesn't work...
My Json return <p>Unable to access an error message corresponding to your field name.<\/p>


Messages In This Thread
validation error messages and Ajax - by El Forum - 08-09-2010, 02:49 AM
validation error messages and Ajax - by El Forum - 08-09-2010, 02:58 AM
validation error messages and Ajax - by El Forum - 08-09-2010, 03:51 AM
validation error messages and Ajax - by El Forum - 08-09-2010, 04:08 AM



Theme © iAndrew 2016 - Forum software by © MyBB