Modify ↓
Ticket #2335 (closed bug: invalid)
[validate] error in the doc for the range validation
| Reported by: | jpcote | Owned by: | |
|---|---|---|---|
| Priority: | minor | Milestone: | 1.2.4 |
| Component: | core | Version: | 1.2.3 |
| Keywords: | Cc: | ||
| Blocking: | Blocked by: |
Description
In the documentation for the validate plug-in, it says to define the range as such :
range: [13, 23]
In order to work, it should be :
rangeValue: [13, 23]
http://docs.jquery.com/Plugins/Validation/Methods/range#range
By the way thanks a lot for this very useful plugin.
Change History
Please follow the bug reporting guidlines and use jsFiddle when providing test cases and demonstrations instead of pasting the code in the ticket.
Note: See
TracTickets for help on using
tickets.

You must be using an old version of the validation plugin. The validation method was changed from rangeValue to range in 1.2.