Forums

form validation problem

alittle116 25 Jan, 2008
Hello,

I have two separate forms both with form validation turned on so that I can make certain fields required.

However it is working in one form and NOT the other. I can not figure out why.

Are there any known issues with this that I should be looking out for?

Thanks!
GreyHead 25 Jan, 2008
Hi alittle116,

Two possibilities: one is that there's something else loading conflicting Javascript on one of the form pages; the other that you've left the {imageverification} out of the html code.

Bob
alittle116 29 Jan, 2008
Can you expand on this? {imageverification}

In the form that is functional, I did not include this.
GreyHead 29 Jan, 2008
Hi alittle116,

Apologies, my brain is a little addled. Forget I said anything about {imageverification} at all . . .

If these forms are both on the same site, then the most likely explanation is that you have some module on one page that uses Javascript and is causing a Javascript conflict.

Are the forms public? Can I browse and look at them?

Bob
ETInteractive 29 Jan, 2008
i tested both pages in IE 7 and neither one works with validation.

IE7 submits the page with no data entered.

I'm noticing this as well on my forms.
GreyHead 30 Jan, 2008
Hi alittle116,

Both pages load both the Prototype and the Mootools Javascript libraries (actually one of them appears to load two versions of Mootools). It's very unlikely that you will be able to run both of these without getting Javascript conflicts.

Bob
shine 05 Feb, 2008
I have a form in which the built in validation works in FireFox but not in IE7. Does anyone know how to get it to work in IE7? Thanks so much!!<br><br>Post edited by: shine, at: 2008/02/04 19:43
GreyHead 05 Feb, 2008
Hi shine,

That's almost impossible to answer without seeing the forms - and maybe not then😟

The most common problem is with Javascript conflicts which may be handled differently by the two browsers.

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