erichexter / twitter.bootstrap.mvc

nuget package to make bootstrap easy with mvc4
Apache License 2.0
248 stars 134 forks source link

Added style to hide initial validation summary #88

Closed jgsato closed 11 years ago

jgsato commented 11 years ago

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.