I'm getting a JS error since upgrading from chronoforms_v3.1_rc5.0 to ChronoForms_V3.1_RC5.2. If has to do with Livevalidation:
This area of code has been changed in the upgrade. Here's the RC5.0 code
Here's the RC5.2 code
Error: CF_LV_Type is not defined
Source File: /components/com_chronocontact/js/livevalidation_standalone.js
Line: 101This area of code has been changed in the upgrade. Here's the RC5.0 code
this.onInvalid = options.onInvalid || function(){ this.insertMessage(this.createMessageSpan()); this.addFieldClass(); }; Here's the RC5.2 code
this.onInvalid = options.onInvalid || function(){
if(CF_LV_Type == 'default'){
if(!this.showErrorSpan())this.insertMessage(this.createMessageSpan()); this.addFieldClass();
}
if(CF_LV_Type == 'showalert'){
this.showErrorSpan(); this.addFieldClass();
}
};
Hi Leo, this is also connected to a glitch in RC5.2 which i fixed and will release later today in RC5.21
Cheers
Max
Cheers
Max
Also, if the user submits an invalid captcha, the form isn't saving the fields and no error message is shown. Is that being addressed in RC5.21?
Also, if the user submits an invalid captcha, the form isn't saving the fields and no error message is shown. Is that being addressed in RC5.21?
Hi Leo, no, I think this is some misconfiguration at your end because it works fine here, I will get a captcha error if there is any!
Regards,
Max
This topic is locked and no more replies can be posted.
