Skip to main content

Bug Tracker

Side navigation

#13839 closed bug (notabug)

Opened April 30, 2013 08:32AM UTC

Closed April 30, 2013 04:34PM UTC

jQuery group-validation not working correctly (Focus)

Reported by: Owned by:
Priority: undecided Milestone: None
Component: unfiled Version: 1.9.1
Keywords: Cc:
Blocked by: Blocking:

I'm grouping to textfields into one validation group, but when trying this i noticed that their websites example is not working correctly.

in this flow the validation message disappears:

without changing the textfield values ("Pete", empty) click on submit.

the cursor automatically focuses the second field.

focus the first textfield

click surounding area to lose focus.

in this flow the validation message is shown:

focus first field

focus second field

click surounding area to lose focus.

i would not expect this behavior.

Code from the official jQuery site (groups -section)


groups: {

username: "fname lname"


errorPlacement: function(error, element) {

if (element.attr("name") == "fname"

|| element.attr("name") == "lname" )







Attachments (0)
Change History (1)

Changed April 30, 2013 04:34PM UTC by timmywil comment:1

resolution: → notabug
status: newclosed

Unfortunately, we are unable to assist with issues related to support or third party plugins. Support can be found on the forums or on the #jquery irc channel. Issues with the validate plugin can be filed here.