Bug Tracker

Opened 7 years ago

Closed 7 years ago

#4662 closed bug (invalid)

Validation Failure on Arbitrary Meta Attributes

Reported by: Cerin Owned by: joern
Priority: major Milestone: 1.4
Component: plugin Version: 1.3.2
Keywords: Cc:
Blocked by: Blocking:


If an input contains a meta attribute that's not explicitly defined in jquery.validate.js, e.g.

<input type="text" name="myinput" class="{string:true}" />

it fails with an unhelpful "$.validator.methods[method] is undefined" error.

This can be fixed by adding this code on line 471 of jquery.validate.js:

if(!$.validator.methods[method]){ continue; }

Change History (2)

comment:1 Changed 7 years ago by dmethvin

  • Component changed from unfilled to plugin
  • Owner set to joern

comment:2 Changed 7 years ago by john

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

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

Note: See TracTickets for help on using tickets.