After nine months of fine performance recently I started to get incomplete forms in the mail. Were people tricking the validation?
I'm checking the forms online and everything can get through without validation. Recently the web hosting has upgraded php to version 5.2.14, but for the rest everything is the same.
I use normal validation from the form wizard, no javascript of server side.
Is this a known problem? sounds familiar to anyone? Or I just forget something?
Thanks,
Antoine
joomla 1.5.9 chrono 3.1 RC5.5
I'm checking the forms online and everything can get through without validation. Recently the web hosting has upgraded php to version 5.2.14, but for the rest everything is the same.
I use normal validation from the form wizard, no javascript of server side.
Is this a known problem? sounds familiar to anyone? Or I just forget something?
Thanks,
Antoine
joomla 1.5.9 chrono 3.1 RC5.5
Hi Antoine,
The "Wizard validation" is in fact a LiveValidation-based Javascript validator, which runs on the browser. Thus, any browser or client not honoring javascripts will not be prevented from submitting incomplete forms. Also, in some cases, certain js-errors will prevent the validator from working at all (loading the jQuery javascript library is one common issue).
Could you post a link to the form?
Also, if you need a server-based validation (not depending on any capabilities of the web browser), then you should implement this using the serverside-validation code.
/Fredrik
The "Wizard validation" is in fact a LiveValidation-based Javascript validator, which runs on the browser. Thus, any browser or client not honoring javascripts will not be prevented from submitting incomplete forms. Also, in some cases, certain js-errors will prevent the validator from working at all (loading the jQuery javascript library is one common issue).
Could you post a link to the form?
Also, if you need a server-based validation (not depending on any capabilities of the web browser), then you should implement this using the serverside-validation code.
/Fredrik
Fredik,
Thanks for the quick reply.
Any fix would take the speed of a non-programmer...
anyway, here is the link:
http://avila-architecture.nl/avila/index.php?option=com_chronocontact&Itemid=68&lang=nl
Cheers,
Antoine
Thanks for the quick reply.
Any fix would take the speed of a non-programmer...
anyway, here is the link:
http://avila-architecture.nl/avila/index.php?option=com_chronocontact&Itemid=68&lang=nl
Cheers,
Antoine
Hi Antoine,
It would seem you are trying to use Prototype along with MooTools (from Joomla and ChronoForms). This causes an error, which prevents the LiveValidation-code to be applied => the validation breaks.
I'm not sure of the origins of the Prototype library (plugin, module, template), but it's retrieved from apple.com in relation to the QuickTime Player.
Unfortunately, fixing compability between MooTools and Prototype is not easy. The best solution is to try and eliminate the use of one of them.
/Fredrik
It would seem you are trying to use Prototype along with MooTools (from Joomla and ChronoForms). This causes an error, which prevents the LiveValidation-code to be applied => the validation breaks.
I'm not sure of the origins of the Prototype library (plugin, module, template), but it's retrieved from apple.com in relation to the QuickTime Player.
Unfortunately, fixing compability between MooTools and Prototype is not easy. The best solution is to try and eliminate the use of one of them.
/Fredrik
Fredik,
Of course!! (of course I wouldn't know)
I guess I installed a bit of code to allow quicktime video to play. I planned to show an instruction video on the site and the code still there, although the video never made it to the page.
I'll check. Good advice, thanks!
Antoine
Of course!! (of course I wouldn't know)
I guess I installed a bit of code to allow quicktime video to play. I planned to show an instruction video on the site and the code still there, although the video never made it to the page.
I'll check. Good advice, thanks!
Antoine
Fredik,
Javascript code deleted, validation is back and running. Great! Thanks.
Antoine
this code is no longer in the html:
<script src="http://www.apple.com/library/quicktime/2.0/scripts/prototype.js" language="JavaScript" type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/2.0/scripts/qtp_poster.js" language="JavaScript" type="text/javascript"></script>
<link href="http://www.apple.com/library/quicktime/2.0/stylesheets/qtp_poster.css" rel="StyleSheet" type="text/css" />
Javascript code deleted, validation is back and running. Great! Thanks.
Antoine
this code is no longer in the html:
<script src="http://www.apple.com/library/quicktime/2.0/scripts/prototype.js" language="JavaScript" type="text/javascript"></script>
<script src="http://www.apple.com/library/quicktime/2.0/scripts/qtp_poster.js" language="JavaScript" type="text/javascript"></script>
<link href="http://www.apple.com/library/quicktime/2.0/stylesheets/qtp_poster.css" rel="StyleSheet" type="text/css" />
This topic is locked and no more replies can be posted.