Bug Tracker

Modify

Ticket #4662 (closed bug: invalid)

Opened 5 years ago

Last modified 4 years ago

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:
Blocking: Blocked by:

Description

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

comment:1 Changed 5 years ago by dmethvin

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

comment:2 Changed 4 years ago by john

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

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

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.