Hello,
I created simple form with date/time picker. But it doesnt work. Only blank field, where it is suppose to be Picker

Help me, please to solve the problem
Thanks
PS
Data field settings
I created simple form with date/time picker. But it doesnt work. Only blank field, where it is suppose to be Picker

Help me, please to solve the problem
Thanks
PS
Data field settings

Hi artpol,
This is probably a JavaScript problem. Please post a link to the form so we can take a quick look.
Bob
This is probably a JavaScript problem. Please post a link to the form so we can take a quick look.
Bob
Good afternoon. I'm having the same problem. Follow the link:
http://www.sintoniacarioca.com.br/index.php?option=com_chronocontact&chronoformname=Atendimento
http://www.sintoniacarioca.com.br/index.php?option=com_chronocontact&chronoformname=Atendimento
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:
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
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
Hello Bob, good evening. Thanks for the help, but still not working. I tried both procedures and still not showing up.
Hi antoindedias,
The jQuery.noConflict() command is running before JQuery is loaded so it is giving an error.
Bob
The jQuery.noConflict() command is running before JQuery is loaded so it is giving an error.
Bob
Sorry, Bob, I'm not expert on this subject. How do I fix this?
Hi antoinedias,
Please try putting this in the Form JavaScript box.
. . . then ask whoever wrote the template for a refund :-)
Bob
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
Did not work. But okay, I'll use a text field even. Thanks, Bob!
This topic is locked and no more replies can be posted.