Bug Tracker

Modify

Ticket #3560 (closed bug: invalid)

Opened 5 years ago

Last modified 15 months ago

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

comment:1 Changed 5 years ago by flesler

  • Owner set to joern

comment:2 Changed 5 years ago by joern

  • Status changed from new to closed
  • Resolution set to invalid

Please follow the  bug reporting guidlines and use  jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.

View

Add a comment

Modify Ticket

Action
as closed
Author


E-mail address and user name can be saved in the Preferences.

 
Note: See TracTickets for help on using tickets.