Welcome Guest, Not a member yet? Register   Sign In
setting the $field variable in a custom callback
#6

[eluser]wabu[/eluser]
I think the params are these, passed when your custom rule gets called:

Code:
$result = $this->CI->$rule($postdata, $param);

I think they're empty for the custom rule but work properly with the default rules. I dunno, it's all in the library.

Can I interest you in writing your own validation? Wink


Messages In This Thread
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 03:45 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 06:29 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 07:51 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 08:47 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 09:07 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 09:21 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 09:29 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 09:42 AM
setting the $field variable in a custom callback - by El Forum - 09-30-2009, 09:55 AM



Theme © iAndrew 2016 - Forum software by © MyBB