reCaptcha don't work with jquery 3.1+
Hi, recaptcha not showing if use jquery 3.1+ sorry for my english :) and Thank's for awesome plugin )
This is true. Using jquery-3.2.1.min.js in the browser console I get:
security.js:9 Uncaught TypeError: Cannot read property 'validationConfig' of undefined
at HTMLFormElement.
Using jquery-2.2.4.min.js the reCaptcha appears OK
Notes:
This may be a problem with how the config object, applied to $.setup(), gets monkey-patched onto the form elements. If this for some reason won't work with jQuery 3.1+ it effects both grecaptcha and $.fn.validate()
- https://github.com/victorjonsson/jQuery-Form-Validator/blob/fd89f88fa04042c19fc155e7efb7fe30aa0224cf/src/main/jquery-plugins.js#L141
- https://github.com/victorjonsson/jQuery-Form-Validator/blob/fd89f88fa04042c19fc155e7efb7fe30aa0224cf/src/modules/security.js#L563
It still looks broken as of 2.3.79, I still get this error after having migrated my website from jQuery 2.4 to 3.3.1.