On Monday 12 March 2007, Bill W. wrote:
I’d just about ‘fallen in love’ with Michael S.'s Client-Side
Validation plugin. Until I tried it in IE6&7. It won’t activate the
submit button once the fields on the form are valid. Works great in
FF. It’s just kick-a$$ in my opinion. Does exactly what I need it
to do in FF. I sure would like to use it. But I gotta serve at
least IE6&7. Anybody gotten it to work with IE?
IE6 and newer. I’m using it myself in projects that target these
browsers and it does work there for me. However, it is entirely
possible, that you’ve stumbled upon a case that I didn’t test.
A few things I can think of to diagnose and correct what’s not working
in your case.
If you have originally created your app with an older version of
Rails, make sure you’re update the JS files:
In IE’s advanced(?) options, enable “Show Script Errors” or whatever
it may be called in english. After that, when you edit your form in IE,
do you get any error messages? Usually, they are pretty much useless,
but at least indicate that something is wrong.
The plugin has a sub-directory jstest containing the file
validator_test.html. Open this file in IE. It runs several automatic
tests of the client-side validator, including for enabling/disabling of
submit buttons. (The README doesn’t state it (yet), but only submit
buttons named “commit” are disabled/enabled; however, this doesn’t
appear to be the problem as it would affect FF the same.)