Problems with Callback Functions and Validation Class |
[eluser]mariowarner[/eluser]
hi maxez, yeah, my hack IS ugly. 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. I myself, am just a CI beginner. ;D
[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(); |
Welcome Guest, Not a member yet? Register Sign In |