Skip to content
Grav 2.0 is officially stable. Read the announcement →

Community guidelines

Please keep discussions civil and on-topic. Repeated violations may lead to a temporary ban.

Forms & Blueprints

reCaptcha v3 ruins AJAX submit

form

Started by Karmalakas 5 years ago · 1 replies · 764 views
5 years ago

I finally managed to make AJAX form work and be able to include the form in any template. Everything seemed to be working, until I added reCaptcha (v3) field + process part. Form is being submitted and I can see for a fraction of a second HTML part replaced with errors, but then whole page gets redirected to the plain form template (which should be returned only by AJAX call).

Is there something I'm missing? I don't have for now how to test it on fresh installation (as soon I can, I'll try to submit a recipe to docs Cookbook on how to achieve this form as a widget behavior) :(

5 years ago

Just tested with v2 Checkbox version and it works perfectly fine. I think I'll stick with that (at least for now)

Suggested topics

Topic Participants Replies Views Activity
Forms & Blueprints · by Ton Haarmans, 5 years ago
13 1138 4 months ago
Forms & Blueprints · by Hugo Oliveira, 5 months ago
0 62 5 months ago
Forms & Blueprints · by Flachy Joe, 6 months ago
9 136 6 months ago
Forms & Blueprints · by Augustus, 7 months ago
7 110 7 months ago
Forms & Blueprints · by Julien, 7 months ago
10 130 7 months ago