Return to Snippet

Revision: 8467
at September 24, 2008 09:20 by bcalloway


Initial Code
//contact-form validation
  $("form#contact-form").validate({
    errorPlacement: function(error, element) {
    //appends error message to the p tag of the form field
    error.appendTo( element.parent("p") );
  }
});

Initial URL

                                

Initial Description
this requires jquery.js, jquery.metadata.js, and jquery.validate,js

Initial Title
jQuery Form Validation

Initial Tags
form, jquery, validation

Initial Language
JavaScript