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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  


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