Correct, everything is followed correctly as best I can tell. Custom.js is set up as:
//Contact form
jQuery("#form").submit(function() {
var str = jQuery(this).serialize();
jQuery.ajax({
type: "POST",
url: "http://www.theautoweekly.com/php/sendmail.php",
data: str,
success: function(msg){
var result;
if(msg === "OK"){
result = "<div class='alert-success'>Your message has been successfully send! Thank you!</div>";
jQuery("#form").animate({ height: '0px' }, 1000, function() {
jQuery(this).hide();
});
}
else {
$('.field_error').removeClass('field_error');
var errors = msg.split(",");
var i;
for (i = 0; i < errors.length; ++i) {
$('#' + errors[i]).addClass('field_error');
}
Recaptcha.reload();
result = "<div class='alert-warning'>Correct input is required in fields marked with red border!</div>";
}
jQuery('.submit_note').html(result);
}
});
return false;
});
All the recaptcha keys are in place, as is a send to email address.