Welcome Guest, Not a member yet? Register   Sign In
Custom callback function in form validation not working
#6

[eluser]LuckyFella73[/eluser]
I don't know yet why exactly your rule doesn't work but
the word "callback" lead me into a wrong direction.
You extended the form_validation class and just did set
up new rules - they are no callback functions then Wink

I would prefer to extend the form_validation class the CI way:
Code:
// save that file into application/libraries:
class MY_Form_validation extends CI_Form_validation {
// here your rules
}

Btw. there is allready a rule to check for valid email.

@toopay - you are replying too fast, I better give up posting for today Wink


Messages In This Thread
Custom callback function in form validation not working - by El Forum - 05-13-2011, 02:21 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 02:30 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 02:31 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 02:59 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 03:09 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 03:15 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 03:31 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 03:48 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 03:49 AM
Custom callback function in form validation not working - by El Forum - 05-13-2011, 04:37 AM



Theme © iAndrew 2016 - Forum software by © MyBB