Welcome Guest, Not a member yet? Register   Sign In
custom form validation
#6

[eluser]CroNiX[/eluser]
Yes, it's a default. Read the "callback" section of the Form Validation docs.

In this particular callback, it isn't actually used, but it still gets automatically passed to the function as the first parameter of the callback function by the validation class when it's executing that rule. How else can you validate values in a callback if the value doesn't get sent?


Messages In This Thread
custom form validation - by El Forum - 07-11-2012, 09:08 AM
custom form validation - by El Forum - 07-11-2012, 10:01 AM
custom form validation - by El Forum - 07-12-2012, 08:02 AM
custom form validation - by El Forum - 07-12-2012, 09:30 AM
custom form validation - by El Forum - 07-12-2012, 11:16 AM
custom form validation - by El Forum - 07-12-2012, 11:20 AM



Theme © iAndrew 2016 - Forum software by © MyBB