Bug Tracker

Opened 15 years ago

Closed 15 years ago

#2429 closed bug (wontfix)

[validate] minLength of messages does not work

Reported by: ahdong Owned by:
Priority: major Milestone:
Component: plugin Version: 1.2.1
Keywords: validate Cc:
Blocked by: Blocking:


jQuery plugin: Validation version: 1.2.1 Browser info:Mozilla/5.0 (X11; U; Linux i686; zh-CN; rv: Gecko/20080207 Ubuntu/7.10 (gutsy) Firefox/

Enven in the demo,

username: {
	required: "Please enter a username",
	minLength: "Your username must consist of at least 2 characters"

the minLength message actually shown is 'Please enter at least 2 characters.',NOT "Your username must consist of at least 2 characters".

If change minLength to lowercase,it works.So I guess there must be some spell-mistakes.

Change History (1)

comment:1 Changed 15 years ago by scott.gonzal

Resolution: wontfix
Status: newclosed

The minLength option is deprecated in favor of minlength. Please switch to using the all lowercase version for forward compatibility.

Note: See TracTickets for help on using tickets.