Forums

Complex form with JQuery Animation, problem with Validation

wmuckell 01 Nov, 2010
I have this form, attached, using jquery to animate it into 3 sections. But the validation does not work.

Any ideas?

P.S.
<script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4.3/jquery.min.js" type="text/javascript"></script>

in template index.php

P.P.S No giggling at content!
GreyHead 01 Nov, 2010
Hi wmuckell,

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 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 Joomla! system plugin named SC jQuery that allows you to control on which pages jQuery is loaded, and will always load it in no-conflict mode.

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