i'm using the follow below to display error message next to each unfilled field. I'd like to simplify things and just have a ErrorBox appear that says "Please fill in all fields" when the submit button is clicked and fields are not filled. class="required" is being used on each field type that is required. how would I do this, do I use showError ?
<script type="text/javascript">
$(document).ready(function() {
$("#form1").validate({
errorLabelContainer: $("#form1 div.error")
});
</script>