-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Invisible hCaptcha doesn't work #6
Comments
We have this package running on several sites with no issues, please ensure you have updated to the latest version and updated all the static files. Please provide example code for me to review to ensure you have configured it correctly, even better would be a link to a site with it installed. |
Hi @AaronSadlerUK , thanks for the quick reply. I've got the latest version (4.0.3) of the package installed on Umbraco 10.5.1. The This script still seems to be depending on jQuery and the jQuery Validation Plugin: Also, when I use the And lastly, it would be great if you could make the query selector for the submit buttons more generic:
instead of
I would like to replace the |
@AaronSadlerUK Are you available on Discord tomorrow? I would like to ask a few questions after which I might be able to help out with a PR. |
Invisible recaptcha is controlled through the api key for turnstile, invisible option in the backoffice shouldn't do anything for it. I can be on Discord, what sort of time? |
Anywhere between 10:00 and 18:00 CET. Let me know what works for you. |
The code in umbracoforms.invisible.hcaptcha.js doesn't work.
Line 21: This selector should use
.umbraco-forms-form button[type=submit]:not(.cancel)
Lines 32-48: This code still contains some jQuery
$(this).closest("form")
and methodsfrm.validate()
andfrm.valid()
that don't work.Also, the hcaptcha.js script is not being loaded.
The text was updated successfully, but these errors were encountered: