Hey guys,
I’ve been trying, to no avail, to get Google’s new invisible Recaptcha to work on my custom Salesforce web-to-lead form.
I’ve followed the instructions given by google here and tried the various different methods. Either it validates but the form doesn’t submit, or the form submits without validating.
The badge also forces my button to the next line, and I would like the fields and button to stay in the same row.
I also would like the fields to be required, but for some reason it only requires the email field and not first or last name fields.
Here is my current code using the simplest method given by google:
and inside the head tag:
I’ve tried the method using a separate div with javascript, and while that fixed my spacing issues, everything else went haywire. Any ideas?
Or, if you guys have any other suggestions to help stop spamming, that would be much appreciated.
Thanks so much