title: Mvc Foolproof not working on mvc3
body: <p>I have an MVC3 application.</p>
  
  <p>This is the model:</p>
  
  <pre><code>public class Customer
  {
      [Required]
      public string Email { get; set; }
  
      [Required]
      public string Answer1 { get; set; }
  
      [Required]
      [NotEqualTo("Answer1")]
      public string Answer2 { get; set; }
  }
  </code></pre>
  
  <p>I enabled the onubtrusive validation on the web.config:</p>
  
  <pre><code>&lt;add key="ClientValidationEnabled" value="true"/&gt;
  &lt;add key="UnobtrusiveJavaScriptEnabled" value="true"/&gt;
  </code></pre>
  
  <p>And this on my _layout.cshtml:</p>
  
  <pre><code>&lt;script src="@Url.Content("~/Scripts/jquery-1.5.1.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/modernizr-1.7.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  &lt;script src="@Url.Content("~/Scripts/jquery.validate.unobtrusive.min.js")" type="text/javascript"&gt;&lt;/script&gt;
  
  &lt;script src="@Url.Content("~/Scripts/mvcfoolproof.unobtrusive.js")" type="text/javascript"&gt;&lt;/script&gt;
  </code></pre>
  
  <p>My problem here is the MvcFoolproof is not working. The mvc data annotation validation <code>Required</code> is working. What did I missed here? Thanks!</p>