Note that there are some explanatory texts on larger screens.

plurals
  1. PO
    primarykey
    data
    text
    <p>I thought I was missing something too, but I do know that the jQuery validation plug in doesn't react to mouseEnter/mouseLeave. According to the documentation for that plug in (at the <a href="http://docs.jquery.com/Plugins/Validation" rel="nofollow noreferrer">plug in page</a> - look for the section labeled "A few things to look for when playing around with the demo"):</p> <blockquote> <p>Before a field is marked as invalid, the validation is lazy: Before submitting the form for the first time, the user can tab through fields without getting annoying messages - he won't get bugged before he had the chance to actually enter a correct value</p> </blockquote> <p>I assume it's the same rule with MVC 2 client-side validation. I can't be sure of that because the documentation doesn't say anything but "it works on my machine" :).</p> <p>I went with the jQuery validation route, which is supported in <a href="http://aspnet.codeplex.com/releases/view/41742" rel="nofollow noreferrer" title="MVC Futures download page">MVC Futures</a> (note that the documentation for that is non-existent). To use it, you just need to replace the script tags for MicrosoftAjax.js, MicrosoftMvcAjax.js and MicrosoftMvcValidation.js files with these two tags:</p> <pre><code>&lt;script src="/js/jquery.validate.js" type="text/javascript"&gt;&lt;/script&gt; &lt;script src="/js/MicrosoftMvcJQueryValidation.js" type="text/javascript"&gt;&lt;/script&gt; </code></pre> <p>replacing the path with yours.</p> <p>I also found the need to upgrade to the latest version of jquery.validate.js from the developer's page, because we are using a later version of jQuery (1.4) here.</p> <p>Hope that helps.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. VO
      singulars
      1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload