How to AJAX form with recaptcha?


My forms were working fine with AJAX based on this document:

But since some recent updates, the AJAX part ceased to work. Now after submission of the form, the whole page is reloaded and the response message appears alone on this empty page.

When I disable the captcha, things work fine.

After some testing:
It works with Grav v1.6.19 and Form v3.0.8.
But fails when I update to Form v4.0.0.

Any news about this bug?

@ontime, If you want to notify the developers of some malfunction in the forms plugin, you should submit an issue at

The community cannot do much in these cases…