Jan 31st, 2010, 3:12 PM
(This post was last modified: Feb 2nd, 2010, 2:08 PM by martin_undefined.)
Okay - so I have a form that is working perfectly with PHP validation.
I've now added JS validation and I just can't seem to get it to fire. The PHP validation though continues to work.
As a test, I added the demo form from the JS validation tutorial to my site and it works perfectly i.e. the paths etc. seem fine.
I can't think what I'm missing, which means it must be pretty obvious! Any suggestions where I should look?
As far as I can see the script is being loaded, but it just isn't picking up the rules / activating validation.
Are there any pitfalls around the placing of the onsubmit statement?
Help appreciated.
Martin
P.S. Running FT 20100101
I've now added JS validation and I just can't seem to get it to fire. The PHP validation though continues to work.
As a test, I added the demo form from the JS validation tutorial to my site and it works perfectly i.e. the paths etc. seem fine.
I can't think what I'm missing, which means it must be pretty obvious! Any suggestions where I should look?
As far as I can see the script is being loaded, but it just isn't picking up the rules / activating validation.
Are there any pitfalls around the placing of the onsubmit statement?
Help appreciated.
Martin
P.S. Running FT 20100101