icon Captcha

The Captcha control blocks spammers and bots and authenticates that a real person submits a form. If you publish your form on a public site, we recommend adding the Captcha control.

This page contains a detailed description of the control properties and JavaScript samples, which you can use with this control.

Captcha control preview

Properties

Here you can find properties available for the Captcha control.

Name

A unique identifier for the control.

Control's name

The Name property is used in JavaScript to select a specific control.

JavaScript

The Name property allows to work with the control via JavaScript code, like this:

fd.spRendered(function(){
    //can access the control using its Name:
    fd.control('Control1');
 });

Site Key

The Captcha control is based on Google’s ReCAPTCHA. To start using the Captcha control, you need to create a key pair for the sites where you plan to add a form.

Site Key property

To create a site key:

  1. Login to the ReCAPTCHA admin page using your Google account.

  1. Give a name to the connection:

    Label

  1. Select reCAPTCHA v2 type:

    Type

  1. Add all domains where you plan to use a form:

    Domain

  1. Accept the terms of service and click Submit. You will be redirected to the page with the Site Key. Copy the site key and paste it to the Site Key property:

    Copy Site Key

Size

The property defines the size of the control.

Size property

You can choose between Normal and Compact sizes.

Normal size:

Normal size

Compact size:

Compact size

Theme

The property defines the control theme.

Theme property

You can choose between Light and Dark themes.

Light theme:

Light theme

Dark theme:

Dark theme