Hello everyone,
I'm a new chronoform french user (so it will be difficult for me to explain my problem but i will) and i would like to obtain some advice unsing datepicker with chronoform.
Indeed, i've made a form with the composent and i enclosed a "datetime box". But, in the frontend, the calendar doesn't appear. Furthermore, in the field i can type everything (message, letters, numbers .....). I tried so many things but unsuccessfully. Could someone help me finishing my form. It is available on my unfinished site <!-- w --><a class="postlink" href="http://www.leclosduloup-rouffiac.com">www.leclosduloup-rouffiac.com</a><!-- w -->, "contact de l'hôtel" which is the submenu of "hôtel". So that's all .... no that's not all ..... i'm far away beeing an expert of PHP or JS language.
I hope someone will help me.
Best regards.
Stéphane Bernier
I'm a new chronoform french user (so it will be difficult for me to explain my problem but i will) and i would like to obtain some advice unsing datepicker with chronoform.
Indeed, i've made a form with the composent and i enclosed a "datetime box". But, in the frontend, the calendar doesn't appear. Furthermore, in the field i can type everything (message, letters, numbers .....). I tried so many things but unsuccessfully. Could someone help me finishing my form. It is available on my unfinished site <!-- w --><a class="postlink" href="http://www.leclosduloup-rouffiac.com">www.leclosduloup-rouffiac.com</a><!-- w -->, "contact de l'hôtel" which is the submenu of "hôtel". So that's all .... no that's not all ..... i'm far away beeing an expert of PHP or JS language.
I hope someone will help me.
Best regards.
Stéphane Bernier
Hi Stéphane,
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
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
Hi Greyhead,
First of all, i thank you about your answer. I'm gonna test it and i will tell if it's all right.
Best regards
Stéphane
First of all, i thank you about your answer. I'm gonna test it and i will tell if it's all right.
Best regards
Stéphane
Hi every body,
I'm back.
I tried your solution Greyhead but unfotunately, it doesn't work. Perhaps i didn't match the right field. I've wrote the code in the field "load JS" in the "events" target (i've clicked on the link "wizard edit" place below my form's name, then i've selected "action" and there i've edited "load JS"). Does it is good? I don't thik so.
Furthermore, i tried to download SC JQuery but it is only for joomla 1.5.
Is there something wrong in my acts?
Thank you for your answer.
Best regards.
Stéphane bernier
I'm back.
I tried your solution Greyhead but unfotunately, it doesn't work. Perhaps i didn't match the right field. I've wrote the code in the field "load JS" in the "events" target (i've clicked on the link "wizard edit" place below my form's name, then i've selected "action" and there i've edited "load JS"). Does it is good? I don't thik so.
Furthermore, i tried to download SC JQuery but it is only for joomla 1.5.
Is there something wrong in my acts?
Thank you for your answer.
Best regards.
Stéphane bernier
Hi Stéphane,
You won't know if it is working until you fix the jQuery problem. As long as that creates a JavaScript error none of the scripts on the page will work reliably and may not work at all.
You'll need to try adding noConflict() directly to the page code. Your template developer should be able to tell you how to do this.
Bob
You won't know if it is working until you fix the jQuery problem. As long as that creates a JavaScript error none of the scripts on the page will work reliably and may not work at all.
You'll need to try adding noConflict() directly to the page code. Your template developer should be able to tell you how to do this.
Bob
This topic is locked and no more replies can be posted.