Before you start / requirements
In order to add a reCAPTCHA to your form, you first need to ensure the following steps are complete.
- You need to have the API installed. To get the latest version of the API either do a standard upgrade by clicking on the "Check for Updates" button on the Settings ยป main tab, or visit the API main page.
- You need to create a reCAPTCHA account on their website. I know it's a pain, but
it's very quick. Visit
their site here and sign up for an account. Once you've created an account you
register the domain(s) where you're using the service. Since the API only runs on the
same server as your Form Tools installation, you'll only need to set up the one
domain.
Recaptcha will generate two keys for you: a private and a public one. Add those two values to your /global/config.php file, like so:(replace the x's and y's with your own keys).$g_api_recaptcha_private_key = "xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx"; $g_api_recaptcha_public_key = "yyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyyy";
- Your form page need to be a .php file (or whatever file extension is used for PHP on your server)