G
Guest
I'm working in Dot Net 1.1
Assume a web page with a text box, and ASP webcontrol button, an HTML button
and a required field validator, called rfv1 for this example.
The validator is assigned to validate the textbox and it is intially disabled.
Assume that the HTML button's onClick event calls a javascript function
which in turn calls ValidatorEnable(document.getElementById("rfv1"), True).
This works fine, insofar as the validator is enabled. What I don't
understand is why the validator fires immediately on enablement.
My question is this: Is there any way within Javascript to clear spurious
validator events/messages?
(I use a scheme basically like this in dozens of screens to enable and
disable validators and spurious messages mean entirely too many end-user
questions.)
Assume a web page with a text box, and ASP webcontrol button, an HTML button
and a required field validator, called rfv1 for this example.
The validator is assigned to validate the textbox and it is intially disabled.
Assume that the HTML button's onClick event calls a javascript function
which in turn calls ValidatorEnable(document.getElementById("rfv1"), True).
This works fine, insofar as the validator is enabled. What I don't
understand is why the validator fires immediately on enablement.
My question is this: Is there any way within Javascript to clear spurious
validator events/messages?
(I use a scheme basically like this in dozens of screens to enable and
disable validators and spurious messages mean entirely too many end-user
questions.)