Hi there!
I'm new to the Chronoforms forum. I really like the component so two thumbs up for your work!
I installed chronoforms on my website. Everything works okay exept for the required field validation. On submit it just shows the 'Thank you' page even if the field who where maked required, are not filled in. When IE loads the page I also get script-errors. The folowing lines are from my index.php. I have a dutch IE so I did my best to translate the error.
Script Error: These properties or methods are not supported by this object
if (document.form.tekst_3.value=="") {
themessage = themessage + " Telefoonnummer";
Script Error: Class is not defined
if (document.form.tekst_2.value=="") {
themessage = themessage + " Naam ";
Script Error: Tips is not defined
<script type="text/javascript">
Tips.implement({
Script Error: Object expected
<script type="text/javascript">
function formCallback(result, form) {
window.status = "valiation callback for form '" + form.id + "': result = " + result;
}
var valid = new Validation('ChronoContact_Offerte1', {immediate : true, useTitles : true, onFormValidate : formCallback});
</script>
The URL for the page:
http://www.chevroletactie.nl/index.php?option=com_chronocontact&Itemid=53
Thanks in advance!
I'm new to the Chronoforms forum. I really like the component so two thumbs up for your work!
I installed chronoforms on my website. Everything works okay exept for the required field validation. On submit it just shows the 'Thank you' page even if the field who where maked required, are not filled in. When IE loads the page I also get script-errors. The folowing lines are from my index.php. I have a dutch IE so I did my best to translate the error.
Script Error: These properties or methods are not supported by this object
if (document.form.tekst_3.value=="") {
themessage = themessage + " Telefoonnummer";
Script Error: Class is not defined
if (document.form.tekst_2.value=="") {
themessage = themessage + " Naam ";
Script Error: Tips is not defined
<script type="text/javascript">
Tips.implement({
Script Error: Object expected
<script type="text/javascript">
function formCallback(result, form) {
window.status = "valiation callback for form '" + form.id + "': result = " + result;
}
var valid = new Validation('ChronoContact_Offerte1', {immediate : true, useTitles : true, onFormValidate : formCallback});
</script>
The URL for the page:
http://www.chevroletactie.nl/index.php?option=com_chronocontact&Itemid=53
Thanks in advance!
Hi Rixters,
The MooTools library isn't loading on your page (it's a JavaScript library that enables the validation).
Please turn on the Load ChronoForms JS & CSS files option on the form General tab.
Or you can add this in your Form HTML
Bob
The MooTools library isn't loading on your page (it's a JavaScript library that enables the validation).
Please turn on the Load ChronoForms JS & CSS files option on the form General tab.
Or you can add this in your Form HTML
<?php
JHTML::_('behavior.mootools');
?>
Bob
This topic is locked and no more replies can be posted.