Using reCAPTCHA in an off-canvas form

Created on 22 July 2024, 5 months ago
Updated 6 August 2024, 4 months ago

I have a webform that I'm loading dynamically with Drupal's off-canvas functionality. (data-dialog-renderer="off_canvas")
The problem is that reCAPTCHA does not load when the form pops in so I'm stuck using a basic (math or similar) captcha. I think the issue has something to do with the recaptcha js not being loaded when the parent page loads, so then when the offcanvas form slides in, no recaptcha. Has anyone overcome this? Thanks.

πŸ’¬ Support request
Status

Postponed: needs info

Version

3.3

Component

General

Created by

πŸ‡ΊπŸ‡ΈUnited States dmudie

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

Comments & Activities

Production build 0.71.5 2024