Forums

Chronoforms v4 JS Error

ousset 09 Jan, 2014
I am getting a JS error from chronoforms that is breaking other JS on the page elements (JS slideshow not working). I disabled chronoforms and the other issue was fixed (the JS slideshow works when Chronoforms is disabled)

Has anyone else had this problem and know the solution?

http://www.getousset.net/happyhranch.com
Max_admin 09 Jan, 2014
Hi,

Chronoforms V4 uses Mootools, do you have Mootools loaded on your page ?

Regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
GreyHead 10 Jan, 2014
Hi ousset,

Te link you posted to the form gives a 404 error and the images are almost impossible to read. My best guess is that you are using jQuery and it is not being put correctly into noConflict mode and is conflicting with MooTools.

Bob
ousset 10 Jan, 2014
Sorry the reason the link was giving an error is because typed it incorrectly.
Here's the correct link: http://getousset.net/happyhranch/

I installed mootools and applied it to the website but it doesnt seem to have changed anything.

Any other suggestions of things to try?
GreyHead 11 Jan, 2014
Hi Ousset,

The JavaScript is failing because of this code in the page:
window.addEvent('domready', function() {
				document.id('chronoform_tour').addClass('hasValidation');
				formCheck_tour = new FormCheckMax('chronoform_tour', {
					onValidateSuccess: function(){},
					display : {
						showErrors : 0,
						errorsLocation: 1					}
				});										
			});
This is the normal code snippet that ChronoForms uses to initiate the form validation but - there is no chronoform_tour form on this page. There is a contact form and the validation code for that is there too.

I have no idea why this code would be loaded without the form being on the page :-(

Bob
This topic is locked and no more replies can be posted.