Hi Andrew,
I see this, but there is some JS errors in the page (use FirFox extension FireBug to see them), any JS error will make problems with the validation as its in JS too!!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Thanks, but the javascript works in FF?
The js errors refer to different javascript files. I am using the chronoform inbuilt validation and don't see how this would effect IE7?
The js files used are the standard ones used in Joomla, namely slimbox.js and validation.js and they are not used on this page..
Hi Andrew,
The validation should work fine in both FF and IE, the IE7 is showing a js error, the Firebug does too, please fix them and Iam sure all will be fine😉
by the way, something at your template is using the mootools.js file, this may make some interference with the validation js files too!!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
So are you saying you cannot use mootools with form validation? As a lot of Joomla sites now use Mootools then this would make it extremely hard to use form validation.
Not sure how to fix slimbox and the joomla validation.js as this is inbuilt into Joomla and may affect other areas?
Hi Andrew,
The validation in Chronoforms is using another popular library lled : prototype/scriptaculous , you cant use both prototype/scriptaculous and mootools at the same page, for some explaination please read this :
http://forum.mootools.net/viewtopic.php?id=1964#post-9356
I wish this answers all your questions ?
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
thanks, that explains it but how do I remove mootools.js from just one page?
If the refernce line is hardcodes in the template file then you will need to switch it off with some PHP code in the template file index.php :
if($option == 'com_chronocontact'){
if its loaded in am odules then you can turn off modules at this page!
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Done all this and stopped the javascripts running on the page of the form.
Still does not work in IE7🙂)
Andrew, I agree, Just a question, how do you get the "Download now" image to submit the form, it seems that problem is here, look at IE7 status bar area once you click the image, a js error icon appears, can your replace this image with a normal submit button and see ? if it works then take your time to fix the image code😉
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Ok, have changed the image to a form button, same thing happens in IE7..
Hi Andrew,
I see, this needs some debugging so you know where this js error appears, by default the validation doesn't give errors and work well on FF and IE versions.
Sincerely,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
It appears as it is a chronoengine js error, as the form script works perfectly well on its own with no errors. Its a very simple form...
there is no javascript other than chronoengine running now..
Hi Andrew,
I agree there is no javascript but Chronoforms one now, however Iam sure the validation code runs very well on IE7, want to make sure ? run it with the default joomla template😉
anyway, there MUST be something wrong with the HTML source of your page, I searched the error appears in IE7 and there may be too many reasons for this like unclosed tags...etc so you should start trial and error till you get it🙂
Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Still can't get to the bottom of it, as the form appears to work correctly in sll other browsers.
Hi Andrew,
Looking at the code I can't see anything wrong, do you have any joomla test site with the default template ? test it there and if your code works then there is some problem with your template!!:)
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
I have spoken to a developer and the template guys and there reply was this,
"Well, the template is not loading any scripts to conflict with the forms on that page so it cannot be a conflict with the template"
I have tested it on a blank joomla install and it does the same...
Hi Andrew,
try to replace the scripts folder then inside components/com_chronocontact/js/ may be some files are corrupted, Iam sure the validation works at FF,IE6,7 ,OPERA , I tested this myself earlier and made it on many websites too!!🙂
also please try to clear your browser cache may be it causes the error on the blank joomla install too.
Cheers
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Hi craigs,
You're probably better asking this in the Joomla forums. Assuming that Slimbox is in a module then I'm not sure that you have access to the content object for the page . . .
Can you not do this by limiting the publication of the module to certain pages?
Bob
Hi craigs,
Which version of Joomla are you using? If it's Joomla 1.0.x then the latest version of ChronoForms can use the Mootools library which should then remove the conflict.
I guess that will also be in the next Joomal 1.5 release but I don't know when that will be.
For the more specific answer $option == 'com_content' should identify content pages for you.
Bob
Hi craigs,
Joomla 1.5 uses Mootools as it's native Javascript library so it's loaded on many pages). That's why the ChronoForms Prototype based validation hiccups in 1.5.
Bob
you said its loaded on many pages so that implies that it is not loaded on some pages.
is it possible to edit what is in the <jdoc:include type="head"> on different pages? that is, to do what I originally wanted to do but from the joomla backend instead of php coding it.
Hi craigs,
Yes it's certainly loaded in he admin pages and maybe in some on the front end, I guess it depends what's on the page.
Can you put that on separate pages? Probably but I don't know how, sorry.
Bob