(02-01-2015, 06:08 PM)twpmarketing Wrote: You have a double underscore in the validation rule function name:
[quote pid='4456' dateline='1422814140']
Code:
$this->form_validation->set_rules('password', 'New Password', 'callback__check_password');
Try using only one underscore and the function should have no leading underscore in its declaration
Your use of an underscore in the method name may be invoking the legacy code for a private function:
From the CI 3.0 docs:
CodeIgniter-3.0rc/user_guide/general/controllers.html#private-methods
Quote:Prefixing method names with an underscore will also prevent them from being called. This is a legacy feature that is left for backwards-compatibility.
[/quote]
Yes, I tried with no underscore but nothing changed.