how to shut off validation

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a webform and added some validation controls to it. I have a clear button on the page and I do not want validation to take place when this is selected, just wondering if there is a way to turn off the validation with one button selected and turn it back on with the click event of another button?
Thanks.
 
Set CausesValidation = false for that button

HTH,
Greg

Paul said:
I have a webform and added some validation controls to it. I have a clear
button on the page and I do not want validation to take place when this is
selected, just wondering if there is a way to turn off the validation with
one button selected and turn it back on with the click event of another
button?
 
ok thanks did not think it would be that easy, it works!.
--
Paul G
Software engineer.


Greg Burns said:
Set CausesValidation = false for that button

HTH,
Greg

Paul said:
I have a webform and added some validation controls to it. I have a clear
button on the page and I do not want validation to take place when this is
selected, just wondering if there is a way to turn off the validation with
one button selected and turn it back on with the click event of another
button?
 
Back
Top