[validate] Possible bug for corner-case usage of "remote"
Hi there,
We're experiencing a problem with jquery-validate.
Correct behaviour is that, when a form is submitted, the input (type=submit) on which the user clicked on a form is also submitted with the rest of the form.
But in a very special case this does NOT happen when using jquery-validate:
If you have an input that uses remote validation, the form is submitted without the input (type=submit). And another twitch: this only happens when running via Selenium test - not when we do it by hand.
So, the issue may lie either with selenium or with jquery-validate. I guess jquery-validate is the best place to start searching, though, regardless of where the problem really lies.
To reproduce, you'll have to:
1) install Selenium IDE in Firefox (http://seleniumhq.org/download/).
2) unzip the attached files in a directory.
3) run a webserver that serves this directory statically on http://localhost:8000/
(You can do this if you have python installed by running "python -m SimpleHTTPServer" inside the directory where the files were unzipped.)
4) Open selenium IDE in firefox (Tools>>Selenium IDE)
5) An in Selenium IDE do File>>Open and choose "bug-test.html" (also in that directory)
6) If you run the tests you'll see that the last URL presented does not have "abutton=Click+me" on the querystring as if should have.
This is a bug somewhere - we just don't know whether it is a bug in Selenium of jquery-validate....
Any ideas?
Regards
- Iwan