additional html data attribute for custom javascript callback

Created on 22 May 2018, about 7 years ago
Updated 13 June 2025, 19 days ago

I am working on a project with a need to control the recaptcha widget behaviour on IOS mobile browsers with custom javascript callback. For our use case, when you tap the checkbox to verify that you are not a robot, the page scrolls to bottom while the verification continues at the top.

In order to control recaptcha response that is causing this issue, Google recommends adding an optional data-callback that will pass an additional token to the g-recaptcha-response . To achieve this, we need to pass additional data attribute to the recaptcha widget markup.

Feature request
Status

Closed: outdated

Version

2.0

Component

reCAPTCHA V2

Created by

🇬🇧United Kingdom oluwalata

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

Comments & Activities

Not all content is available!

It's likely this issue predates Contrib.social: some issue and comment data are missing.

Production build 0.71.5 2024