Simple jQuery form validation

Easy setup, create a form with a class of 'validate'.

Then give each form element you wish to validate a class of validate along with one of these choices...

Then add the following to your global javascript file....

  $(document).ready(function() {
    $("form.validate").validate();
  });

See the form below for an example. Styles for error messages can be edited too.

feel free to use the code. A link back would be nice