Skip to main content

Bug Tracker

Side navigation

#4211 closed enhancement (invalid)

Opened February 22, 2009 06:54PM UTC

Closed February 05, 2010 08:36PM UTC

[validate] Allow for easy error placement with groups feature

Reported by: cfjedimaster Owned by: joern
Priority: minor Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:
Description

It seems like you will always want custom error placement when you use the groups feature. It would be nice if you didn't have to actually write a custom handler just because you are grouping fields together. Imagine being able to change this:

groups: {

fullname: "firstname1 lastname1"

},

errorPlacement: function(error, element) {

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

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

error.insertAfter("#lastname1");

else

error.insertAfter(element);

},

To

groups: {

fullname: {

fields: "firstname1 lastname1",

errorplacement: "lastname1"

}

},

Attachments (0)
Change History (2)

Changed October 13, 2009 01:03AM UTC by dmethvin comment:1

component: unfilledplugin
owner: → joern

Changed February 05, 2010 08:36PM UTC by john comment:2

resolution: → invalid
status: newclosed

Please file plugin bugs with the appropriate author on their bug tracker.