I have form with reCaptcha inside and toggleDisabled, and everything works OK if I click reCaptcha just before submit. But If I after this invalidate any field (for example, uncheck "I agree.." field), my submit button becomes disabled (so far so good), but when I then make this field valid again (make "I agree.." checkbox checked again) - submit button remains disabled.
This allows form to be submitted ONLY if reCaptcha will be clicked after all other fields already valid.
If I will wait until reCaptcha will expire, it wants me to click it again, after clicking on it again submit button becomes enabled.
It looks like reCaptcha status was not remembered inside validator, and reCaptcha could only be last form field to be validated.
onElementValidate callback also do not shows reCaptcha validation process.
I have form with reCaptcha inside and toggleDisabled, and everything works OK if I click reCaptcha just before submit. But If I after this invalidate any field (for example, uncheck "I agree.." field), my submit button becomes disabled (so far so good), but when I then make this field valid again (make "I agree.." checkbox checked again) - submit button remains disabled.
This allows form to be submitted ONLY if reCaptcha will be clicked after all other fields already valid.
If I will wait until reCaptcha will expire, it wants me to click it again, after clicking on it again submit button becomes enabled.
It looks like reCaptcha status was not remembered inside validator, and reCaptcha could only be last form field to be validated.
onElementValidate callback also do not shows reCaptcha validation process.