Jquery validation plugin

On clicking submit button first i want the form to validate and then ajax request has to be made using jquery validation plugin .how is it possible?

            <div class="form-group">
          <label>Name</label>
          <input class="form-control" type="text" name="name">

    </div>
               <div class="form-group">
       <label>Email</label>
      <input class="form-control" type="email" name="email">

           </div>

          <div class="form-group">
       <label>Phone</label>
      <input class="form-control" type="number" name="number">

      </div>

      
      <button class="btn btn-success" type="submit" name="sbt">Submit</button>



                 $("#myform").validate({
         rules: {
                   name: {
                     required : true
                   }
           },

           messages:{
                  name:"You Must enter your Name"
           },

            submitHandler: function(form) {
    $(form).submit();
      }
     });
    </script>

A post was merged into an existing topic: Form validation and ajax on click?