Add the following to Web.config (in Views folder), within <appSettings>:
<add key="ClientValidationEnabled" value="true"/>
<add key="UnobtrusiveJavaScriptEnabled" value="true"/>
Add the jqueryval bundle to BundleConfig.cs:
bundles.Add(n...