I'm trying to submit a form With Ajax but When i do that i'm getting an error on the Page Preview
Google captcha verification failed.
Here is my Ajax Code :
$(document).ready(function(){
$('#Form').submit(function(event){
event.preventDefault();
$.ajax({
url: 'test.php' ,
type: 'POST',
data: {
verification_code: $('#verification_code').val(),
},
success: function(msg) {
alert('Email Sent');
}
});
Is there anyway i can Include the invisible reCAPTCHA?
Here is the id i guess (i'm new to this stuff )
<input type="hidden" name="g-recaptcha-response" id="g-recaptcha-response" value="03AOLTBLRJ-kqE59WtFl99ks81arRI-w5jflwDiYXs_Cp0rTL6IyoEpWkr2wed01dK65H9P28KhZPIjrMbX22HXKfZFVoqewUb3qcRTZzhII2gX9QOB_25X5tdobsVpQwwXtxae1Ay-R29MHQViQV1iYKsBMx-a-MchnUHoDw_xrdA6bDJ1JF8a1PLUvxKXgF-C7C3LWWJ4WTQrw4aUMVmJgCQ_Cxd8r0HMcPZK8zO7g2jQBkbbzTo-U02iL9WH6-dfKrXRFEuFSBQtFYQZGi3YeuJnnq8NnWB2PKwxgl2qpbl0btPL2J02_wBYIx6jODTPhUmiYVnOpdY1Ga7ikyLgBSJcqYcmSoSUi9AfDofEjaIyAZuuL2AWaEjEF38BTluq3Ras417ohTaM6Rff11nBnJ31QGd-AJBJohWZe3lEtEz_LT5t391IG1d5daK9eCfIVDtEVVa9aLvcOUYPfEGSKudQqZTSOAhb6W_LTriFtmXKiDOt8d8Bx8nuIGpEDz0HKGlEQ1zF409kXNAef6_5hQfpsrTlXUVTA">
</div>