Hi,
I have been trying very hard to get form validation working but it still doesn't work. Can someone please help?
http://atopiclair.ebizity.net/sample-request
I have turned on validation and set the field under Required but nothing seems to change the the form posts on every Submit.
Please help!
Thanks!
I have been trying very hard to get form validation working but it still doesn't work. Can someone please help?
http://atopiclair.ebizity.net/sample-request
I have turned on validation and set the field under Required but nothing seems to change the the form posts on every Submit.
Please help!
Thanks!
Hi linliansen,
You can see here that the validation is working without the template.
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:
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
jqueryjqueryjquery]
You can see here that the validation is working without the template.
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
jqueryjqueryjquery]
I am having same issues. Where is "Form JavaScript box" ?
This topic is locked and no more replies can be posted.