Welcome Guest, Not a member yet? Register   Sign In
controler function question
#6

[eluser]drewbee[/eluser]
when your calling the callback, you need to use two underscores...

Code:
$this->form_validation->set_rules('field', 'Field name', 'callback__field_check');

As for other ideas, this is how code igniter has been since I have used it. It really isn't that hard of a change just pop open all your controllers and add an extra _ infront of all functions and a _ infront of the rule setting.


Messages In This Thread
controler function question - by El Forum - 10-29-2008, 06:55 AM
controler function question - by El Forum - 10-29-2008, 08:17 AM
controler function question - by El Forum - 10-29-2008, 09:57 AM
controler function question - by El Forum - 10-29-2008, 11:32 AM
controler function question - by El Forum - 10-29-2008, 12:03 PM
controler function question - by El Forum - 10-29-2008, 01:20 PM
controler function question - by El Forum - 10-29-2008, 02:43 PM
controler function question - by El Forum - 10-30-2008, 03:09 AM



Theme © iAndrew 2016 - Forum software by © MyBB