Forums

Javascript error when adding v3 Google Recaptcha in Chronoforms v7

telekallis 14 Jun, 2023
Hi,
I added a v3 Google Recaptcha to my form but when submitting the form the Console logs this error:

jQuery.Deferred exception: Cannot read properties of undefined (reading 'split') TypeError: Cannot read properties of undefined (reading 'split')
at HTMLSpanElement.<anonymous> (https://www.aligned.ch/free-trial?chronoform=free-trial&gpage=start_page:250:42)
at Function.each (https://www.aligned.ch/media/vendor/jquery/js/jquery.min.js?3.6.3:2:3003)
at E.fn.init.each (https://www.aligned.ch/media/vendor/jquery/js/jquery.min.js?3.6.3:2:1481)
at HTMLDocument.<anonymous> (https://www.aligned.ch/free-trial?chronoform=free-trial&gpage=start_page:248:20)
at e (https://www.aligned.ch/media/vendor/jquery/js/jquery.min.js?3.6.3:2:30310)
at t (https://www.aligned.ch/media/vendor/jquery/js/jquery.min.js?3.6.3:2:30612) undefined
E.Deferred.exceptionHook @ jquery.min.js?3.6.3:2

Is this a known problem? Are there any suggestions what I can do about it?
Regards
Karl
Max_admin 14 Jun, 2023
Does this error occurs when you view the form in the admin area ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
telekallis 15 Jun, 2023
The error occurs when I submit the form, regardless whether it is from the admin area or as a regular user.
Karl
Max_admin 15 Jun, 2023
what about v2 ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
telekallis 16 Jun, 2023
If I create an invisible v2 recaptcha key and add it to the form:

1) A visible recaptcha shows up (but I selected "invisible"?!)
2) Not clicking "I am not a robot" does not block submitting the form

Anything obvious I missed?
Max_admin 10 Jul, 2023
but does the form go through without the key ? I'm talking about the emails..etc, the form should redisplay with the error, correct ?
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
You need to login to be able to post a reply.