I am using client side validation and I would like the message below to show only when I have an error. I am trying to use this a general error in case any field is invalid.
Currently
"* denotes required field"
is always showing even before validation.
<%: Html.ValidationSummary(false, "* denotes required field.")%>
I am using model binding to perform validation on client side and MVC.