If I go into my form data to edit it, the page loads with a JavaScript error and the page will not submit. This happens in IE 8 and the latest Firefox. I have included the error message below. One thing I noticed is that the actual form and the edit data page call different versions of the validation script:
The original form calls:
/public_html/components/com_chronocontact/js/jsvalidation2.js
Editing the form data calls:
/public_html/administrator/components/com_chronoconnectivity/js/jsvalidation2.js
Webpage error details
Line 158 in the script is the line below that says if(message):
The original form calls:
/public_html/components/com_chronocontact/js/jsvalidation2.js
Editing the form data calls:
/public_html/administrator/components/com_chronoconnectivity/js/jsvalidation2.js
Webpage error details
User Agent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.0.3705; .NET CLR 1.1.4322; Media Center PC 3.1; .NET CLR 2.0.50727; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
Timestamp: Thu, 6 Aug 2009 02:47:56 UTC
Message: 'message' is undefined
Line: 158
Char: 5
Code: 0
URI: [DOMAIN TAKEN OUT]/administrator/components/com_chronoconnectivity/js/jsvalidation2.js
Message: Object doesn't support this property or method
Line: 59
Char: 102
Code: 0
URI: [DOMAIN TAKEN OUT]/media/system/js/mootools.js
Line 158 in the script is the line below that says if(message):
if ( ['checkbox', 'radio'].contains(type) ) {
if(field.hasClass('validate-one-required')){
if( message) { var message_validate_one_required = message; }
name.add( Validate.One_Required, {
elm : field,
failureMessage: message_validate_one_required
});
fieldsarray[fieldsarray_count] = name;
fieldsarray_count = fieldsarray_count + 1;
}
}
Hi johkar1,
I'm a bit surprised that the form edit is staying in ChronoConnectivity. I thought that the latest version only used ChronoForms Forms? Which version of CC do you have?
The 'message' it's referring to is the optional error message from the input 'title' field. Not sure why this should be a problem though :-(
Bob
I'm a bit surprised that the form edit is staying in ChronoConnectivity. I thought that the latest version only used ChronoForms Forms? Which version of CC do you have?
The 'message' it's referring to is the optional error message from the input 'title' field. Not sure why this should be a problem though :-(
Bob
I have ChronoConnectivity_V2_RC1, ChronoForms_V3.1_RC5.3 and ChronoForms_Plugin_V3.1_RC5.2
I think all these are the latest. I think I will just comment out the offending code in the CC JavaScript file since the form will never be submitted...because don't you just hit Save or Apply to the save the data. Not sure yet because I haven't actually got it working yet.
I think all these are the latest. I think I will just comment out the offending code in the CC JavaScript file since the form will never be submitted...because don't you just hit Save or Apply to the save the data. Not sure yet because I haven't actually got it working yet.
This topic is locked and no more replies can be posted.