Bug Tracker

Opened 15 years ago

Closed 15 years ago

Last modified 12 years ago

#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:
Blocked by: Blocking:

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 (2)

comment:1 Changed 15 years ago by flesler

Owner: set to joern

comment:2 Changed 15 years ago by joern

Resolution: invalid
Status: newclosed
Note: See TracTickets for help on using tickets.