Hi
I am wondering if anyone can help me. Just now I am receiving a JavaScript error, which I believe is stopping my form from submitting. ( I can submit the form fine in test mode but when implemented in my design it doesn't send ) The error is to do with the js that chronoForms adds to the <head> tag.
I recieve the error "Cannot Call Method 'addClass' of null" I think this is because the JS is loading before the element has loaded. Is there anyway I can edit this file to maybe add "jQuery(document).ready(function() " to ensure the element has loaded.
Thank you
I am wondering if anyone can help me. Just now I am receiving a JavaScript error, which I believe is stopping my form from submitting. ( I can submit the form fine in test mode but when implemented in my design it doesn't send ) The error is to do with the js that chronoForms adds to the <head> tag.
window.addEvent('domready', function() {
document.id('chronoform_Contact_Form').addClass('hasValidation');
formCheck_Contact_Form = new FormCheckMax('chronoform_Contact_Form', {
onValidateSuccess: function(){},
display : {
showErrors : 0,
errorsLocation: 3 }
});
});
I recieve the error "Cannot Call Method 'addClass' of null" I think this is because the JS is loading before the element has loaded. Is there anyway I can edit this file to maybe add "jQuery(document).ready(function() " to ensure the element has loaded.
Thank you