I'm working on a contact forum which has jquery based validation using the following plugin


I'm also using an Ajax function to send the information to a script and display a thank you message.

I can get both features to work alone but after hours of tinkering am not able to get them to both work at the same time.

Here is my javascript code in full.

var submit_message = "<p>We will be in touch soon.</p><img id='checkmark' src='http://timeformore.info/discussion/media//2010/12/check-mark-200x200.png' />";

$(function() {  
  $("#commentForm").click(function() {
	  	var cname = $("input#name").val();
		var cemail = $("input#email").val();
		var cphone = $("input#phone").val();
		var cmessage = $("textarea#message").val();
		var myaddress = $("input#myaddress").val();
		var dataString = 'name='+ cname + '&email=' + cemail + '&phone=' + cphone + '&message=' + cmessage + '&myaddress=' + myaddress;
		//alert (dataString);return false;
  $("#submit").click(function() {
		return false;
      type: "POST",
      url: "mailform.php",
      data: dataString,

I have made versions of each alone to show that they work.

Validation --> http://philipk.ca/Emilio/contact.html

Ajax --> http://philipk.ca/Emilio2/contact.html

If anyone can help me with this I would hugely appreciate it!