M
MattB
Hi. I've looked at a couple of examples and I thought I had a handle on
this, but it's not working like I expected.
I created a custom validator on my form that (for now) only has a server
side check that performs a luhn check on a credit card number. I've created
the validator, and the server side code to check the card number. The
problem is, I can enter invalid numbers and the validator never seems to do
anything - the numbers are accepted like there's no problem.
In stepping through this in the debugger, I see my validation sub execute,
and args.IsValid evaluates to false, but then I see no indication of this on
the page, like the validator never hears back from the sub I created.
Any ideas what I've done wrong? Thanks!
Matt
this, but it's not working like I expected.
I created a custom validator on my form that (for now) only has a server
side check that performs a luhn check on a credit card number. I've created
the validator, and the server side code to check the card number. The
problem is, I can enter invalid numbers and the validator never seems to do
anything - the numbers are accepted like there's no problem.
In stepping through this in the debugger, I see my validation sub execute,
and args.IsValid evaluates to false, but then I see no indication of this on
the page, like the validator never hears back from the sub I created.
Any ideas what I've done wrong? Thanks!
Matt