Modify ↓
Ticket #3560 (closed bug: invalid)
jquery.validator.js plugin: submit on enter-key overrides validation
| Reported by: | mromaine | Owned by: | joern |
|---|---|---|---|
| Priority: | critical | Milestone: | 1.3 |
| Component: | plugin | Version: | 1.2.6 |
| Keywords: | jquery validator | Cc: | |
| Blocking: | Blocked by: |
Description
This might be an FF3 specific bug, but in FF3 go to:
http://docs.jquery.com/Plugins/Validation/valid
hit TAB until focus is on the demo input box and type a few characters, then hit enter (do NOT hit tab again before hitting enter; the cursor / focus must be on the input box still).
result: form is submitted (in this case, jQuery webpage loads inside frame
basically, it seems the enter-key is not caught by the validator if focus is on a form input and is pressed ...
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.
