how to validate via jquery code example Example: jquery validate $("#myform").validate({ debug: true });