how to clear, validation summary?

Joined
Oct 14, 2006
Messages
4
Reaction score
0
this is my very first post in this forum :)

i have two checkbox and a validation summary, im validating to select at-least one checkbox (which works fine) when i uncheck the checkbox the validation fires and give the red message to select at-least one in a
validation summary

but the problem is;

when i check the checkbox the error is gone but the validaiton summary still there, how do clear that validation summary or
how do make validation summary only comes when the user hit enter key or something?
 
Joined
Oct 14, 2006
Messages
4
Reaction score
0
Here is my dilema.

I have a validation summary that I use soley for my Required Field
Validators. That works fine if I do things that way up to a point, if by chance the
validation summary says "Date field required" then I edit the date and input
an incorrect date, which I have a JavaScript validation for, that message
will come up saying how to enter the date.

The problem is that the validation summary is now populated and it wont clear until I hit the server
again.

Is there a way to clear it or make it invisible through JavaScript on some
form function like onsubmit - that will allow me to be able to
clear that summary?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,994
Messages
2,570,223
Members
46,812
Latest member
GracielaWa

Latest Threads

Top