bcit-ci / CodeIgniter

Open Source PHP Framework (originally from EllisLab)
https://codeigniter.com/
MIT License
18.27k stars 7.6k forks source link

Callback in form_validation not working #3998

Closed hamton closed 9 years ago

hamton commented 9 years ago

function verify () { $this->form_validation->set_rules('user', lang('User'),'callback_check'); $this->form_validation->run() }

public function check() { return true; }

Message: 'Unable to find callback validation rule: '

chalchis commented 9 years ago

i me too with similar problem en ci 2.2 usinf HMVC http://www.mahbubblog.com/php/form-validation-callbacks-in-hmvc-in-codeigniter/

hamton commented 9 years ago

Yes, I found the solution in that post. :dancers: