Versions Compared

Key

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

...

What is a Plugin validation error?

We will explain how This section explains what causes Plugin validation error can to occur by demonstrating how an error as such can be replicated.

...

Info
titleEdit Invisible reCAPTCHA: Other configuration properties
  • An important note to take down is thatthe default error textdoes not explain much to app designers on what "reCAPTCHA error" actually means.
  • A meaningful error text or message is strongly encouraged in order to give app designers a rough idea of what the error is and how to start fixing it.
  • This is why we have there are two other configuration properties called the Custom error text and Debug mode to help prevent app designers from facing problem like this.

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

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

Custom error text & Debug mode

  • Custom error text is designed to be printed out to end-users app designers only when there is a Plugin validation error.
  • Debug mode helps app designers indicate the problem error text or error message in different formats (depending if enabled or disabled).

Image Removed

Image Removed

...

What is Custom error text for?

Image Added

To demonstrate what the Custom error text and Debug mode are used for, the reCAPTCHA secret key is made invalid to replicate the Plugin validation error.

In this example, the Custom error text is set as "Invalid reCAPTCHA secret key: Please ensure you secret key is valid!".

The Debug mode needs to be disabled for now in order to show the Custom error text on the top left corner of the Form.

Image Added

Now you are able to see how Custom error text works.

Instead of printing out the default error text, the Custom error text is printed out.

You see "Invalid reCAPTCHA secret key: Please ensure you secret key is valid!" instead of "reCAPTCHA error".

Now that we have seen how Custom error text works, the next section explains Debug mode.

What is Debug mode for?

image to be inserted here later..

...