Message Required fields Joomla 2.5

lifecolor 30 Mar, 2012
Hello everyone.
I have problems with ChronoForms component in joomla 2.5.
Do not I get the error message for required fields.
It 'a problem JAVASCRIPT?
For see..
http://demo.lifecolor.eu/autofficinaballarini/index.php/prenota-la-tua-revisione
At the main menu I have the problem with "Prenota la tua revisione". The field name, e-mail,... are required, but I don't see the message of error.

Can you help? thanks
Life Color Communication srl
GreyHead 30 Mar, 2012
Hi lifecolor,

Your template (or some other component) is loading the jQuery JavaScript library.

Out of the box jQuery isn't compatible with the MooTools library used by Joomla! and ChronoForms. You can use jQuery with MooTools in no-conflict mode. There are various ways of doing this. The simplest - which may or may not work - is to add a line of script in the ChronoForms Form JavaScript box:
jQuery.noConflict();
This will free the $ operator which is used by MooTools, so you may need to update your own javascripts to use the longer jQuery operator.

There is also a neat plugin named JB Library from Joomla! Bamboo that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode. However this requires that JQuery is loaded using the Joomla Document object methods.

I have a tutorial on Resolving jQuery problems that explores some of the issues an diagnostics and shows how to modify one template example to use the Joomla! Document methods to load JQuery in noConflict mode.

Bob
lifecolor 30 Mar, 2012
Excuse me, but where I write "jQuery.noConflict();" ?
I have install the plugin but it's not changed..
Life Color Communication srl
GreyHead 30 Mar, 2012
Hi lifecolor,

I'm afraid that depends on where and how the scripts are being loaded into your page. JQuery is not a standard library in Joomla! so if you use templates or components that use it you have to make sure that they are well behaved :-(

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