jQuery-Form-Validator icon indicating copy to clipboard operation
jQuery-Form-Validator copied to clipboard

reCaptcha invalidates when clicked to other fields

Open king2 opened this issue 8 years ago • 0 comments
trafficstars

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.

king2 avatar Nov 23 '17 04:11 king2