title: ASP.NET MVC 3 validation on blur
body: <p>How do I call the validation when the textbox looses focus? Eg.</p>
  
  <pre><code>@using (Html.BeginForm()) {
      @Html.ValidationSummary(true)
  
      &lt;div class="editor-label"&gt;
          @Html.LabelFor(model =&gt; model.Name)
      &lt;/div&gt;
      &lt;div class="editor-field"&gt;
          @Html.EditorFor(model =&gt; model.Name)
          @Html.ValidationMessageFor(model =&gt; model.Name)
      &lt;/div&gt;
  }
  
  public class RegisterViewModel
  {
      [Required]
      [StringLength(5)]
      public string Name { get; set; }
  }
  </code></pre>
  
  <p>Also, How can I check if the name exist already by calling an action?</p>