• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Problems with Callback Functions and Validation Class

hi maxez, yeah, my hack IS ugly. Wink you could try using their standard validation routine found at http://ellislab.com/codeigniter/user-gui...ation.html - sad for me, their standard routine didn't work just as expected.

Nevertheless, it is actually pretty easy to understand even without knowing all the inner workings of CI, specially for someone with your calibre. Smile I myself, am just a CI beginner. ;D

I had the exact same problem. I was able to get error messages to show by changing

$this->validation->set_message('numberowners_check', 'Number of Owners must be numeric');


$CI =& get_instance();
$CI->validation->set_message('numberowners_check', 'Number of Owners must be numeric');

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

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