I'm trying to redirect my PHP contact form to a separate 'Thank You' Page to better track our leads coming in. I just need to know where to put the URL and how. I'm no expert in PHP and would LOVE the help. This isn't all of the code for the form, but it's the snippet where I felt it would be plugged in (Assuming it will replace "Thanks! Your email was successfully sent.")
Thank YOU! Danielle
if(!hasError) {
var formInput = jQuery(this).serialize();
jQuery.post(jQuery(this).attr( 'action'),formInput, function(data){
jQuery( 'form#contactForm').slideUp( "fast", function() {
jQuery(this).before( '<p class="tick"><?php _e( '<strong>Thanks!</strong> Your email was successfully sent.', 'woothemes' ); ?></p>' );
});
});
}
return false;
});
});
//-->!]]>
</script>