reCaptcha and Advanced Form Validation incompatibility
-
There is a serious incompatibility issue with reCaptcha and Advanced Form Validation.
I’ve created a simple form, with a custom Advanced Form Validation. In the form, none of the “email” and “phone” input is required, to allow the users to fill only one which they prefer, but in Advanced Form Validation I throw an error if both fields are empty, to actually require at least one of the two.
I’ve successfully configured and added reCaptcha to the form. I noticed that if I don’t fill “email” and “phone”, but check the reCaptcha (v2 checkbox challenge), I’m able to submit the form, the backend will throw the expected “please fill at least one of email or phone” error, but the reCaptcha challenge will stay checked and if I fill one of the two required fields, and try submitting the form again, I will get “reCaptcha verification failed, please try again.” error each time and can not submit the form ever again, as the already checked reCaptcha will become invalidated.
The topic ‘reCaptcha and Advanced Form Validation incompatibility’ is closed to new replies.