Contact form with Jquery and PHP don’t work

From your code:

 $(function() {
        // Validate the contact form
      $('#contactform').validate({

WordPress loads jQuery in “no conflict” mode, meaning that the “$” symbol is not defined.

Change the “$” to the proper full “jQuery” or use a no conflict wrapper.