Javascript Problems

pelucre 27 Sep, 2011
Hello,

I use 4 ChronoForms Joomla 1.7 and I'm probably facing a confict of javascript.

By changing the html code of a form ChronoForms, I set up the following form in which I joined the javascript and css joint.

url form :http://www.bbcconcept.net/index.php/contact

Now when I run, checking when submitting is not realized and a javascript error appears but I don't know how to fix my form.

javascript errror :
document.getElementById("pu_" + champs[i]) is null
[Stopper sur une erreur] {var pu = document.getElementById('pu_'+champs[i]).value;} 

Thank you in advance for your help
GreyHead 27 Sep, 2011
Hi pelucre ,

I don't see any conflict. It just looks as though there are some bugs in your custom scripts. As far as I can see the script isn't handling the case when the price input is empty.

Bob
GreyHead 27 Sep, 2011
Hi pelucre,

Possibly; the next step is to start debugging the scripts in the Joomla! context. I can't see any ChronoForms problems though.

Bob
pelucre 28 Sep, 2011
I deleted my custom JavaScript code for testing. Unfortunately when I submit my form, the captcha error message appears all the time even if the captcha is entered correctly. Unlike the error messages never appear in other fields.

How can i find and fix my mistakes ?

Thanks in advance for your help.
GreyHead 28 Sep, 2011
Hi pelucre,

Please post a screenshot of the OnSubmit Events box - particularly the Check Captcha action.

Bob
pelucre 28 Sep, 2011
For information,

If the target event of event loop is "On Submit>Check Captcha>On Fail", the following error appears :
www/components/com_chronoforms/libraries/chronoform.php on line 160
GreyHead 28 Sep, 2011
Hi pelucre,

That all looks good. I don't understand why you are having the problem with Captcha. There have been several posts about this in the last few days but I can't find a common problem :-(

Please take a Form Backup using the icon in the Forms Manager and post it here (as a zipped file) or PM or email it to me and I'll take a closer look.

Bob
GreyHead 29 Sep, 2011
Hi pelucre,

Just to update you, there have been several reports of the Check Captcha problem and Max is taking a look at the code to see what is happening.

Bob
pelucre 29 Sep, 2011
thanks for your return, i wait the fix.
For information, I fixed my javascript problem in my custom code.
This topic is locked and no more replies can be posted.