title: Jquery Validation plugin custom required text
body: <p>I am using the Jquery Validation plugin (http://docs.jquery.com/Plugins/Validation) to valid a form on my page.</p>
  
  <p>I am using the "required" class to validate an input on my page and want to show custom required text when the field is empty. How can I do this.</p>
  
  <p>Code is as follows:</p>
  
  <pre><code>    &lt;script&gt;
      $(document).ready(function() {
        $("#phonetypeform").validate({
        });
      });
        &lt;/script&gt;
  
  &lt;form id="phonetypeform" name="register" action="register.php"&gt;
  
  &lt;input class="required" type="text" name="name" /&gt;
  
  &lt;button type="submit"&gt;Submit&lt;/button&gt;
  &lt;/form&gt;
  </code></pre>