.net - asp.net CustomValidator on multiple controls -
i working page has series of checkboxes @ least 1 box must checked. the validator fires when click submit button , if no checkboxes checked indicates validation has failed. if check 1 of checkboxes validation message not go away until click submit button again. if using on control in had specified controltovalidate , fixed validation issue error message goes away immediately. however in case not setting controltovalidate due need validate several independent controls. so question can cause re-validation of custom validator? instance add on each checkbox onclick="revalidate()" force validation happen again. here sample code wrote demonstrate scenario. <script type="text/javascript"> <script type="text/javascript" src="http://ajax.googleapis.com/ajax/libs/jquery/1.4.2/jquery.min.js"></script> function isonecheckboxchecked(sender, args) { if (!$('[id$=checkbox1]').attr('checked') ...