I've been looking for a way to implement reCAPTCHA or any type of CAPTCHA on a Visualforce form. It appears that reCAPTCHA has been updated since this posted Adding CAPTCHA to Force.com sites. Can anyone point me in the right direction on how to properly implement the updated reCAPTCHA with a VF page? I can't seem to find much information on it.

  • Register with Google Account for an API Key:

    Go to this link - https://www.google.com/recaptcha/admin#list

    Fill the form & Register

    You will receive ‘Site Key’ & ‘Secret Key’

  • Generate Web-To-Lead form:

    Go to Setup -> Web-to-lead -> Click on ‘Create Web-to-lead form’

    enter image description here

    enter image description here

    Save & Generate.

    You will receive HTML Code.

    Copy-Paste the code in registered Domain site & Run.

(You can refer this link also - https://sfdcquery.blogspot.com/2019/01/re-captcha.html)

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.