title: Adding custom validation jQuery Plugin Validation
body: <p>I am using jQuery plugin  validation , i want to ignore   the default values in a text box. i am addng cusotm validation in jQuery as follow. but it always return false.  can any one help me what may be the issues in my code</p>
  
  <pre><code>$(document).ready(function () {
      $.validator.addMethod("defaultInvalid", function (value, element) {
          switch (element.value) {
              case "First Name":
                  if (element.name == "First Name") return false;
          }
      });
      $("#frmReserv").validate({
          rules: {
              FName: "required defaultInvalid",
          },
          messages: {
              FName: "Please Enter Your Name",
          },
      });
  });
  </code></pre>
  
  <p>And Html field is</p>
  
  <pre><code>&lt;input type="text" value="First Name" name="FName"/&gt;
  </code></pre>