Forums

Required fields not working (Solved)

creyl 20 Jul, 2012
Dear community,

I got the problem that the required fields (and error messages) are not working.
(E-mail is send on submit)

I have checked the form settings several times, tried everything i could find in this forum, but still no success. The only message I got is the captcha error message.

I think the problem could be caused by a mootools or jquery conflict or something like that.

Link to the form: http://www.lueders-marketing.de/kontakt

I really would be thankful if someone can help me solving this problem.

thx
GreyHead 20 Jul, 2012
Hi creyl,

The form without the template validates correctly so ChronoForms is working as it should.

I saw three different versions of JQuery loaded on the page, two of these are unnecessary and one or more of them are probably not in noConflict mode.

If you tidy up the scripts then the ChronoForms validation will be OK.

Bob
creyl 21 Jul, 2012
Many thanks for your immediate support.
Your answer was a really great hint - now it's working!!

For all, who have the same problem and don't understand the answer, here some more hints:

The file which has to be edit is the index.php of your joomla template.

Following page helped me to understand which lines i had to delete to get the field validation working: http://api.jquery.com/jQuery.noConflict/
Shriek 02 Aug, 2012
Excuse my ignorance here, but i am having the same prob with a site at http://www.accesssolutions.co.nz/index.php/get-the-ultimate-guide-to-everything-access which isn't validating. Captcha is working though. I have a Jquery in my template to enable the drop down menu to work (they all open up at once) and I added a jQuery++ Integrator by tushev.org which is suppossed to stop JQuery conflicts. If I delete the <script type="text/javascript" src="http://code.jquery.com/jquery.js"></script> in my template the validation works but the menu doesn't. If I turn off the jQuery++ Integrator the menu stops working as well. I know it's not the fault of Chronoforms so if it's a hassle, don't worry, but if someone can tell me how to fix I'd appreciate it.
Andrew
GreyHead 03 Aug, 2012
Hi Andrew,

It looks as though that plugin is handling the copy of jQuery from Google OK (see the page without the template where the validation works with the Google jQuery).

I'm not sure what is causing the problem, maybe the second copy of JQuery with sizzle???

I think you have to use a process of elimination to pin down the cause before you can fix it.

Please see this FAQ for some more info.

Bob
Shriek 06 Aug, 2012
Thanks for your help Bob, i'll take a look.
Andrew
This topic is locked and no more replies can be posted.