When a validation summary has the message property set, e.g. @Html.ValidationSummary( "Please complete all required fields before submitting" ) - the message is displayed on the initial page load even though validation has not yet failed.
Adding this style will prevent the message from being displayed until the validation fails.
When a validation summary has the message property set, e.g. @Html.ValidationSummary( "Please complete all required fields before submitting" ) - the message is displayed on the initial page load even though validation has not yet failed.
Adding this style will prevent the message from being displayed until the validation fails.