DateTimePicker is not working

artpol , November 30 2010
a
artpol

Hello,
I created simple form with date/time picker. But it doesnt work. Only blank field, where it is suppose to be Picker
http://pics.kz/s2/f9/50/18/f950186e91a9720e2a2dbdbcc729eecd.png

Help me, please to solve the problem

Thanks

PS
Data field settings
http://pics.kz/s1/4d/af/c8/4dafc8065b0fa1a9c53ec9f29b52d57e.png

GreyHead

Hi artpol,

This is probably a JavaScript problem. Please post a link to the form so we can take a quick look.

Bob

a
antoinedias

Good afternoon. I'm having the same problem. Follow the link:
http://www.sintoniacarioca.com.br/index.php?option=com_chronocontact&chronoformname=Atendimento

GreyHead

Hi Antoinedias,

If you view the form without the template it's 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

a
antoinedias

Hello Bob, good evening. Thanks for the help, but still not working. I tried both procedures and still not showing up.

GreyHead

Hi antoindedias,

The jQuery.noConflict() command is running before JQuery is loaded so it is giving an error.

Bob

a
antoinedias

Sorry, Bob, I'm not expert on this subject. How do I fix this?

GreyHead

Hi antoinedias,

Please try putting this in the Form JavaScript box.

				window.addEvent('domready', function() {
jQuery.noConflict();
});

. . . then ask whoever wrote the template for a refund :-)

Bob

a
antoinedias

Did not work. But okay, I'll use a text field even. Thanks, Bob!

GreyHead

Hi antoinedias,

By all means email or PM me the site URL and a SuperAdmin login and I'll take a quick look.

Bob

Powered by ChronoForums - ChronoEngine.com

ChronoForms Book

The ChronoForms Book, written for ChronoForms v3 contains 350 pages of invaluable ChronoForms How-tos hints and tips.

Note: many of the ideas can be used in ChronoForms v4 but the admin interface is very different and code examples may need to be modified.

SSL

Members Login

 

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for
goods and services provided by ChronoEngine.com