Forums

validation does not work

gurt 04 Nov, 2009
Hi,

Tried to find an answer by strolling down the forum but could not find it! I'm having problems with the validation of my form. Nothing happens when i submit the form or jump to another textbox. I am pretty sure about the settings, checked the validation boxes in the form wizard, enabled validation, enabled Load Chronoforms CSS/JS Files?.

I also tried to strip the css to find a conflict but could not find any. The error console in FF has no errors to report and the loaded jQuery uses no conflict ($j). Using joomla 1.5.14 and newest version of ChronoForms.

I cannot give access to the webpage because it's for a client, sorry for that. Does anyone have a clue? We can talk tech-style i understand HTML/PHP/JS/CSS😉 Thanks in advance!

[attachment=0]cfsettings.JPG[/attachment]

Greets from the Netherlands
GreyHead 04 Nov, 2009
Hi curt,

Can you post a link to the form - or PM it to me if you'd prefer not to post?

Bob
GreyHead 04 Nov, 2009
Hi curt,

None of the ChronoForms scripts are being loaded which is a bit strange.

Please try turning the Google Loader off as an experiment and see if that is blocking them somehow.

You could also try setting Load ChronoForms scripts to On in the Form General Tab - but I don't think this is the problem. The validation scripts should load anyhow.

Bob
gurt 04 Nov, 2009
Okay, turned of the google.load. Could not find the setting Load ChronoForms scripts, do you mean Load Chronoforms CSS/JS Files? That's on yes

no change by the way😟
GreyHead 04 Nov, 2009
Hi gurt,

No that's made no difference :-(

Either the scritp files aren't there which seems unlikely, or something on the site is stopping them loading - I don't know what that might be though :-(

Even the script snippets that ChronoForms usually loads in the page aren't there.

Bob
gurt 04 Nov, 2009
I checked the index.php but it's all HTML or standard PHP! Guess i should try a few things, i'll keep you updated. Thanks for now! I will try to reinstall😉

update: The template causes the problem, i switched to the beez template and it worked! Guess i should check the HTML and CSS. Could the 960 Grid System css conflict with the CF css? Keep you updated!
GreyHead 04 Nov, 2009
Hi gurt,

It might - but something is blocking the scripts. CSS problems are less important.

Bob
gurt 04 Nov, 2009
solution:

two things

don't forget to put <jdoc:include type="head" /> in the head

and don't use google.load to load another version of mootools because that causes a conflict!

Thanks for the help, hope the solution helps other people

please close thread
GreyHead 04 Nov, 2009
Hi gurt,

Makes sense - well fixed.

Bob
HSOY 05 Nov, 2009
I'm having the same problem. I tried switching my template to beez and that fixes the problem, so it's something to do with my template. I checked the two things gurt suggested and neither is an issue for me.

You can see the form here: http://www.rapidenterprise.com/test/uwl/services/10

I don't know how to figure out what's conflicting with the form. Any help would be appreciated.

Thanks,
Josh
GreyHead 05 Nov, 2009
Hi Josh,

You've got JQuery loading on the page and haven't resolved the conflicts (see gurt's first post iirc),

The form without the template validates OK.

Bob
HSOY 06 Nov, 2009
If I disable JQuery the form works fine. I was using JQuery because it's required for a script I'm using on another part of my website. Is there any way I can still use JQuery without messing up the form. I'm a total novice on this issue.

Thanks for the help.

Josh
GreyHead 06 Nov, 2009
Hi JOsh,

There is a thread somwhere in the forums here where there were a couple of ways of doing this explained.

Bob
This topic is locked and no more replies can be posted.