Welcome Guest, Not a member yet? Register   Sign In
Problems with Callback Functions and Validation Class
#11

[eluser]mariowarner[/eluser]
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
#12

[eluser]Unknown[/eluser]
I had the exact same problem. I was able to get error messages to show by changing

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

to

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




Theme © iAndrew 2016 - Forum software by © MyBB