I got the site live on Wednesday, removing my old site and using your template instead. I got a LOT of compliments on it, and I pushed the fact that I used your template and got a lot of tech support.
Unfortunately, I'm also getting some spam messages. I tried adding a google reCAPTCHA to it, but I'm not putting it in the right place - the email sends whether the captcha is filled out or not. Since your template uses mail.php, is that where I should add the actual php code:
Hi folks,
I got the site live on Wednesday, removing my old site and using your template instead. I got a LOT of compliments on it, and I pushed the fact that I used your template and got a lot of tech support.
Unfortunately, I'm also getting some spam messages. I tried adding a google reCAPTCHA to it, but I'm not putting it in the right place - the email sends whether the captcha is filled out or not. Since your template uses mail.php, is that where I should add the actual php code:
<!-- Google reCAPTCHA code -->
$recaptcha = $_POST['g-recaptcha-response'];
$res = reCaptcha($recaptcha);
if($res['success']){
// Send email
}else{
// Error
}
I'm sure I'm not your only customer running into this. Do you have a preferred method for handling this situation?
Thanks, as always.
- Russ
Hello,
Unfortunately, we unable to help with such customizations.
Please take a look at https://bootstrapious.com/p/bootstrap-recaptcha or https://stackoverflow.com/questions/36914450/php-form-google-recaptcha-validation-with-mail-html-template
Best Regards,
Jelly Team