Adding Google reCAPTCHA to your contact forms using the Send Form Action

24th of January, 2019

Sign up for Google reCAPTCHA

Note: The exact steps may vary with different versions of the reCAPTCHA website.
  1. Visit https://www.google.com/recaptcha and click Admin console in the top right to sign in or create an account
  2. Register a new site
    1. Label: This is only used for your reference on the reCAPTCHA site
    2. Click Checkbox under reCAPTCHA v2
    3. Domains: The web domains for which this will be used. If your contact form is at www.example.com/contact.html, you would enter example.com
    4. The terms will need to be accepted by checking the box
    5. Send alerts to owners can be unchecked, this is more relevant to other forms of reCAPTCHA that include code on every page of your site
  3. After registering you will be shown your Site key and Secret key, keep these for later

Install the updated Send Form Action

  1. Download the Form Suite Action bundle from this page
  2. Extract the archive if your browser has not already done so
  3. Double click the Form Suite Action bundle or drag to Freeway's Dock icon to install
  4. You will be prompted about installing the Action
  5. You will then be informed that previous versions have been disabled

Update your contact form

Note: If you do not already have a form set up with the Send Form Action, you can find information about doing that in Creating a Contact Form in Freeway and Send Form Action
  1. Find where you have used the Send Form Action and open the Actions Palette
  2. Scroll to the bottom to find two new options to enable reCaptcha and to enter the Secret key
    1. Tick the option to Use Google reCaptcha
    2. Paste the Secret key from earlier into the reCaptcha Secret Key field
  3. Insert a Markup Item from the Insert menu and paste the following code, replacing your_site_key with the Site key from earlier. Importantly not the Secret key.
<script src="https://www.google.com/recaptcha/api.js"></script>
<div class="g-recaptcha" data-sitekey="your_site_key"></div>


User Opinions

No users have voted.

How would you rate this answer?



Thank you for rating this answer.

Continue