Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Search the Form Element Palette for the Invisible reCAPTCHA element under the Marketplace section.

Image Removed

Drag and drop this element into your Form.

Image Added

Click on the element in your form and the Edit Invisible reCAPTCHA panel appears (on the right hand side).

...

  1. Go to https://www.google.com/recaptcha/about/
  2. Click on v3 Admin Console at the navigation bar
  3. Give your Label a meaningful name (e.g.: recaptcha_test)

  4. For the reCAPTCHA Type, select reCAPTCHA v2 > Invisible reCAPTCHA badge

  5. Under Domains, put the domain name that your Joget DX instance is hosted on.

    Info
    titleSetting a domain name

    If you are using Joget DX on a local computer for development purposes, you can put "localhost" as your domain name.

  6. Tick Accept the reCAPTCHA Terms of Service
  7. Click Submit

Image Removed

Copy the generated reCAPTCHA site keys and reCAPTCHA secret keys, and paste them into their respective fields in the Edit Invisible reCAPTCHA configuration.

Image Added

Remember to click Apply Change and save the form.

...

Info
titleImportant reCAPTCHA keys
  • Site keys can actually be shown publicly, but it is censored in this example.
  • Secret keys must never be shown or shared with anyone, because the server uses it to verify reCAPTCHA responses upon form submission.

Testing out the plugin

Image Removed

Try submitting the form where you added the Invisible reCAPTCHA plugin.

If the bottom right corner of your form shows the protected by reCAPTCHA, it means that the Invisible reCAPTCHA plugin is working as intended.

Image Added

You can seek help from Errors of the plugin if the Invisible reCAPTCHA plugin is not working as intended.

...

What is a reCAPTCHA widget error?

Image Removed

This is how a reCAPTCHA widget error is shown.

...

Image Removed

reCAPTCHA widget error occurs when you may have chosen the v2 tickbox option instead of the v2 invisible option.

Remember to choose the v2 invisible option, so that the reCAPTCHA site key is enabled for the Invisible reCAPTCHA.

...


Image Added

This is

...

Image Removed

...

how a reCAPTCHA widget error looks like.

Because of this error, the "Form Submitted" message is not shown on the top left corner of the Form.

Image Added

What is a Plugin validation error?

To replicate plugin validation error is very simple, you only have to provide an invalid reCAPTCHA secret key (e.g. changing a letter to a different letter).

image to be inserted here later..

This is how a Plugin validation error looks like.

Because of this error, the error texts are shown on the top left corner of the Form instead of the "Form Submitted" message.

Image Added

Info
titleEdit Invisible reCAPTCHA: Other configurations
  • Custom error text is returned when there is a Plugin validation error
  • Debug mode can be enabled to help app designers indicate what the problem or error is

You can refer to Custom error text & Debug mode sections.

Tip: Hover on the tooltips (? icon) in Edit Invisible reCAPTCHA configuration to read what each configuration properties mean.

Custom error text & Debug mode

image to be inserted here later..

Custom error text is designed to be shown to end-users when there is a plugin validation error.

...

  • Error texts as such do not explain much on what the validation problem is, therefore Custom error text can be used to elaborate the validation problem to end-users
  • To produce a meaningful error message or text, you should first understand what a plugin validation error is

...

Enabling Debug mode allows error messages to be printed out for end-users to see.

...