Ajax submit in CF5 causes browser console error

stepd 10 Apr, 2017
I noticed when using Ajax submit in CF5 that FF and Chrome are showing "ReferenceError: chronoforms_validation_signs is not defined" in Web Console. I checked it on CF demo forms after I noticed it on my own form, and the error was showing up on those forms as well. The error doesn't seem to affect the operation of the actual form, but the reason I noticed the error was that something was interfering with a JS function I was using outside the form (in an external site JS file). When I turned off Ajax submit, the Web Console error disappeared and my external JS function started working. Is there any kind of workaround to continue using Ajax submit and get rid of that error?
GreyHead 10 Apr, 2017
Hi stepd,

Not something I remember seeing before. Please post a link to the form so I can take a quick look.

Bob
stepd 10 Apr, 2017
Thanks, I deleted everything except a submit button, set form theme to none, and switched to the protostar theme to make it as barebones as possible. I'm still getting the error in Web Console. Here's a link:

http://stdunn.com/sites/ell/index.php?option=com_chronoforms5&chronoform=ELLProgramSearchtest
GreyHead 11 Apr, 2017
HI stepd,

It looks to me like a CF bug that shows up when you use Ajax submission on a form with no 'validated' inputs. I think that if you make one of them 'required' then the error should go away.

Best wishes

Bob
stepd 11 Apr, 2017
Yes, it looks like that was the problem. I'll figure something out. Thanks.
This topic is locked and no more replies can be posted.