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

[eluser]wabu[/eluser]
Back with new battery (yay).

If I'm reading it properly, _execute() in the Form Validation library parses custom rules with a regex that matches real "word" characters and thus excludes the bracketed stuff.

I guess custom rules aren't designed to be used that way (while a few of the inbuilt rules accept parameters).


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