I have the following javascript for in my 'fabrik.form.submit.start'
which was working fine until RC1 upgrade now none of the javascript works for the on form submit function.
/public_html/components/com_fabrik/js/form_12.js
=================================================
Fabrik.addEvent('fabrik.form.submit.start', function (form) {
//Checkbox, if not checked clear the fields before saving.
var ObjectiveSymptomsOfIntox = jQuery('input[name="xforce_dmv_content___incid_intoxsymptom[4]"]').val();
alert( ObjectiveSymptomsOfIntox );
if (!(ObjectiveSymptomsOfIntox))
{
jQuery('#xforce_dmv_content___incid_intoxsymptom_other').val('');
}
else{
//do nothing
}
===============================================
the alert doesn't run.
Thanks
which was working fine until RC1 upgrade now none of the javascript works for the on form submit function.
/public_html/components/com_fabrik/js/form_12.js
=================================================
Fabrik.addEvent('fabrik.form.submit.start', function (form) {
//Checkbox, if not checked clear the fields before saving.
var ObjectiveSymptomsOfIntox = jQuery('input[name="xforce_dmv_content___incid_intoxsymptom[4]"]').val();
alert( ObjectiveSymptomsOfIntox );
if (!(ObjectiveSymptomsOfIntox))
{
jQuery('#xforce_dmv_content___incid_intoxsymptom_other').val('');
}
else{
//do nothing
}
===============================================
the alert doesn't run.
Thanks