Open Sogl opened 4 years ago
I think I found lines what cause my issue: https://github.com/getgrav/grav-plugin-form/blob/f9feb3f3424d00fb5e817ca42e9b662169ec0215/templates/forms/fields/captcha/captcha.html.twig#L14-L43
Need to re-write my code for compitability with this part. Any ideas?
@w00fz need your help. You have already helped me with ajax-like problems 😉
@rhukster Can you help?
The same thing, I'm getting "This form has already been submitted."
error.
Any progress on that?
Hello!
I used previously Captcha v2 with "I'm not a robot" check, worked fine. Some time ago I saw more spam in my inbox and decided to change Captcha to v3.
I have form in different non-modular page in
contacts.ru.md
andcontacts.en.md
:My form definition (Captcha field based on learn):
js AJAX part based on learn example:
I develop on localhost and generated new v3 keys. Here my list of domains:
Form options with v3 keys:
Finally my form with Captcha badge:
Steps:
refresh_prevention: true
I see Captcha fail: After a second my page refreshed with white screen and "This form has already been submitted." message. No mail in inbox.refresh_prevention: true
I see the same Captcha fail, but success message "Thank you!" on white screen. Mail sended.refresh_prevention: true
and withoutcaptcha: true
(process
section) I see success message: after that page refresh again with white screen and message "Thank you!". Mail sended.Looks like Google for some reason refreshes the page:
How to make it work?
Env: