Hey,
has somebody created a module with the new recaptcha from Google? I can't find anything... :(
Help :)
Darjan
Printable View
Hey,
has somebody created a module with the new recaptcha from Google? I can't find anything... :(
Help :)
Darjan
My workaround solution was to check the response from reCaptcha with a jquery script:
Code:$("#f2").on("submit", function(e) {
var response = grecaptcha.getResponse();
//recaptcha failed validation
if(response.length == 0) {
$('#recaptcha-error small').text('Error: reCAPTCHA not successful!');
e.preventDefault();
}
//recaptcha passed validation
else {
$('#recaptcha-error').remove();
}
});
Hi,
Just wondering if anyone has implemented reCaptcha2 with the form generator? I am not a coder and the company who developed our site is no longer. My main problem is the server side validation. I have scoured the web for answers and have so many variations and suggestions of code that I am not sure which is right. Another minor detail is where in Contao should I put the code anyway? modules/frontend/form.php? and where in the code should it lie?
Sorry to show my ignorance :confused: but any help would be much appreciated :grin:
Contao version 2.11.17 php 5.6.40
Many thanks,
Bob
Most important: update Contao and your PHP version!