problem with validation

ele_ 04 Jul, 2011
Hi, sorry for my bad english...

I'm new to the forum! i'm not an expert of chronoform, but i have installed it on my joomla 1.6

I create a form with easy form wizard, i've drag elements to preview, modify field name, label text and set required.

I've modify the first email:
I modify the thank's message.
i i rename the form

but when i click the button submit in the frontend, it doesn't check my field. I set my field required, but if my field is blank and i click on submit it send me the email.

why validation doesn't work?
thank's
Eleonora
GreyHead 04 Jul, 2011
Hi Eleonora,

Please post a link to the form so I can take a quick look.

Bob
GreyHead 04 Jul, 2011
Hi eleonora,

If you check the form without the template by adding &tmpl=component to the url you will see that the validation is working OK.

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 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
ele_ 05 Jul, 2011
hi, there was a problem with the template, that it load jquery, now i've change the template end if you see the page code there is:

<script type="text/javascript"> 
		//<![CDATA[
			jQuery.noConflict();		//]]>
		
		//<![CDATA[
			window.addEvent('domready', function() {
								formCheck = new FormCheck('chronoform_contatto', {
									display : {
						showErrors : 0					}
				});									
			});
		//]]>
		
  </script> 


but the validation not work
thank's
GreyHead 05 Jul, 2011
Hi ele_

It looks to me as if the validation is now working OK apart from a CSS problem in IE7.

Bob
ele_ 05 Jul, 2011
yes, i forgot a field :-D

but i've a question, do you know uniform js? i would like to apply this aspect to my form. It's possible?

i've made a static form for my client with uniform js, and now it want it identical.
there is a mode?

thank's...
GreyHead 05 Jul, 2011
Hi ele_,

I don't know anything about uniform js. From a quick look at their site you could probably implement it with ChronoForms but it will be quite a lot of work.

Bob
ele_ 05 Jul, 2011
thank'you very much for your help...
Bye
sduran 04 Oct, 2011
Hi,
I need to implement this (Uniform.js) integration, do you have succeed?
Could you please share your experience about that...
Thanks and Best Regards.
SERGIO
GreyHead 04 Oct, 2011
Hi sduran ,

I don't have anything new beyond my reply to _ele: It looks as though it's possible but not without a lot of work.

As far as I recall there wasn't any other conversation PM/Email about this.

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