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.rendered(function(){
    //can access the control using its Name:
    fd.control('Control1');
 });

Site Key

The Captcha control is based on Google’s ReCAPTCHA. To use forms on your sites, you will need to create a Site Key.

Leave the Site Key empty if you are going to share your form by a direct link to [your-domain].plumsail.io only.

Note

To share the form by a link and embed it on your site, you should include plumsail.io and account.plumsail.com to the Domains section of the Site Key configuration.

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 the 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