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: 101
This 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();
}
};