Problem/Motivation

A user can't be logged in when he using this module for login form and pressed "Log in" button when reCAPTCHA was not loaded yet.

Proposed resolution

Disable submit form buttons while reCAPTCHA was not loaded.

User interface changes

Add the "Preloader" section on the module settings page.

Comments

chmez created an issue. See original summary.

ohorbatiuk’s picture

Assigned: ohorbatiuk » Unassigned
Status: Active » Needs review
StatusFileSize
new20.17 KB

Status: Needs review » Needs work

The last submitted patch, 2: recaptcha-preloader-3019135-2.patch, failed testing. View results

ohorbatiuk’s picture

StatusFileSize
new20.18 KB

Patch for version 8.x-2.3.

ohorbatiuk’s picture

StatusFileSize
new20.25 KB
ohorbatiuk’s picture

Status: Needs work » Needs review
hass’s picture

Status: Needs review » Postponed (maintainer needs more info)

Why should this happen? Google is never offline as I get told so often....

And this is not the reference implementation of recaptcha. Therefore not really a good candidate for integration. Can you move this to an extra module, please?

ohorbatiuk’s picture

I mean that Google script can load slowly when a user uses the slow internet connection and the user can try to submit a form before Google script will be loaded.

Ok, I will do it in a separate module or somewhere else.

hass’s picture

Status: Postponed (maintainer needs more info) » Closed (works as designed)

Maybe you can enhance recaptcha from a second module and integrate with form alter. Than we can see statistics wise how many are using it and may integrate the code later.