Option to hide the reCAPTCHA badge

Created on 26 June 2023, over 1 year ago
Updated 18 August 2023, about 1 year ago

Problem/Motivation

According to the FAQ, it's allowed to hide the reCAPTCHA badge as long as you include the reCAPTCHA branding yourself.
However, the module doesn't support this.

<!--break-->

It is not too difficult to alter a form so that this is achieved. Basically, you only need to add a bit of CSS and a text to the form.

However, it would be nice if the module would provide an option for this so that no custom code is required.

Proposed resolution

On an abstract level, I would implement it as follows:

  1. Add a checkbox to toggle the visibility of the badge.
  2. Also add a (formatted) text field where you can specify the branding text. This should have the default value shown in the FAQ.
  3. This text should be appended to the end of the protected form and the badge should be hidden. (If configured to hide the badge)

Remaining tasks

Actually implement this feature and potentially discuss the details of how it should be implemented.

User interface changes

The configuration form would need to be adjusted. Also, the captcha output on the protected forms could change for the end-user.

✨ Feature request
Status

Fixed

Version

2.0

Component

Code

Created by

πŸ‡¨πŸ‡­Switzerland GRcwolf

Live updates comments and jobs are added and updated live.
Sign in to follow issues

Comments & Activities

Production build 0.71.5 2024