Welcome Guest, Not a member yet? Register   Sign In
a custom callback to check if the value is empty
#2

[eluser]KeyStroke[/eluser]
I just read the comment above the code you've posted and it said:
Code:
// Is the field required?  If not, if the field is blank  we'll move on to the next test
So, yea, that's what it's probably doing.

What other rules are you using in your validation? did you try using required in your validation rules so it doesn't accept an empty value?


Messages In This Thread
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 02:41 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 03:12 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 03:23 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 03:58 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 04:11 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 04:15 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 04:59 AM
a custom callback to check if the value is empty - by El Forum - 04-21-2008, 11:14 PM



Theme © iAndrew 2016 - Forum software by © MyBB