Opened 14 years ago
Closed 13 years ago
#4211 closed enhancement (invalid)
[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"
}
},
Change History (2)
comment:3 Changed 13 years ago by
Component: | unfilled → plugin |
---|---|
Owner: | set to joern |
comment:4 Changed 13 years ago by
Resolution: | → invalid |
---|---|
Status: | new → closed |
Note: See
TracTickets for help on using
tickets.
Please file plugin bugs with the appropriate author on their bug tracker.