You need to sign in to do that
Don't have an account?

Community reCAPTCHA Self-Registration Functionality
Hello!
I'd like to preface this with the fact that I have 0 dev knowledge and struggle to understand all this, so feel free to speak to me like I'm 5 if you can help! :D
I'm trying to implement reCAPTCHA v2 onto my Community Self-Registration page. I've gotten pretty far and I'm still having some trouble, but I have two questions regarding it's functionality to start with (screenshot below).
For reference, I followed these two resources:

I'd like to preface this with the fact that I have 0 dev knowledge and struggle to understand all this, so feel free to speak to me like I'm 5 if you can help! :D
I'm trying to implement reCAPTCHA v2 onto my Community Self-Registration page. I've gotten pretty far and I'm still having some trouble, but I have two questions regarding it's functionality to start with (screenshot below).
- Is there a way to get rid of the Submit button? I don't want the user's to have to fill out the form, check the reCAPTCHA box, then click the reCAPTCHA "Submit" button, then finally click our Register button. I want the reCAPTCHA to be verified when they check the box.
- Will I have to update my Site Key regulary? I saw a concern about it breaking weekly from a couple years ago, and while I don't think it's a valid concern anymore, I want to make sure. I have added the necessary Trusted Sites.
For reference, I followed these two resources:
- https://www.learncommunitycloud.com/s/article/Implementing-reCAPTCHA-in-Community-Cloud
- http://varasi.com/salesforce/embedding-google-recaptcha-v2-in-salesforce-lightning-component-to-increase-security/
The click of Submit button makes a callback function that is executed when the user submits a successful response.This is required to validate the response and hence it is not possible to get rid of submit button.
There are options to resize the Recaptcha section based on https://salesforce.stackexchange.com/questions/200380/recaptcha-in-salesforce-lightning-component
You can refer to the following link which explains how can we have this in our experience sites.
https://inevitableyogendra.blogspot.com/2021/09/introducing-google-recaptcha-in-einstein-bots.html