Commit Graph

25 Commits

Author SHA1 Message Date
g1smd
0b3e34cde9 Optimise RegEx patterns, especially for UK phone numbers. 2012-09-06 16:25:53 +02:00
Max Lynch
55920f0f75 Updated UK Mobile phone number regex for new numbers. Fixes #154 2012-05-07 15:14:00 +02:00
Max Lynch
851e941a60 Fixed regex for time additional method. Fixes #131 2012-05-05 14:19:47 -05:00
Max Lynch
c3ce5b4569 Added checkbox test to require_from_group and changed require_from_group to use elementValue. Fixes #359 2012-05-04 11:20:17 +02:00
Max Lynch
278d3f3b3e Added US zip code support and test. Fixes #90 2012-04-29 20:34:18 +02:00
Max Lynch
43d963b4ec Removed number stripping from stripHtml. Fixes #2 2012-04-28 16:48:05 +02:00
Max Lynch
b475b483f5 Moved old accept method to extension additional-method, added new accept method to handle standard browser mimetype filtering. Fixes #287 and supersedes #369 2012-04-22 23:37:01 -05:00
Max Lynch
5c2ecd1b76 Added test for rangeWords and fixed regex and bounds in method. Fixes #308 2012-04-20 15:04:57 +02:00
Synchro
be37b6aba8 Fix incorrect message for alphanumeric validator 2012-04-17 11:21:56 +02:00
Jörn Zaefferer
8f8792fd86 Fix whitespace and formatting in additional-methods and tests 2012-04-03 16:24:45 +02:00
Nathan Long
78a739f7c5 Added methods "require_from_group" and "skip_or_fill_minimum" 2012-04-03 16:15:04 +02:00
Max Lynch
85b719b8d3 Fix maxWords method to include the upper bound, not exclude it. Fixes #284 2012-03-29 21:40:19 +02:00
emirpprime
aca2e93e91 Methods for 'all' UK phone numbers + UK postcodes
Prevent phone invalidation for ' ' or '-' inclusion

Spaces are standard notation, hyphens US style, both likely to occur in
otherwise valid numbers.
2012-02-28 13:23:48 +01:00
gavacho
5dda6daa6c Pattern method: Convert string param to RegExp. Fixes issue #223 2012-02-23 19:24:54 +01:00
Jörn Zaefferer
3f187a5d01 Fixed #71 - improve existing time method and add time12h method for 12h am/pm time format 2011-09-13 15:45:56 +02:00
Jörn Zaefferer
b009f41fbf Cleanup whitespace 2011-07-28 20:14:56 +02:00
robertodecurnex
6b8f2c2b15 Adding the patter additional method 2011-07-28 20:13:54 +02:00
jzaefferer
125e124b69 Extract version into version.txt and add header two additional-methods.js 2011-03-20 12:18:51 +01:00
jzaefferer
592fe0707f Added ipv4 and ipv6 to additional methods, thanks Natal Ngetal (hobbestigrou) 2010-07-15 15:36:59 +02:00
jzaefferer
5bb2441f04 CRLF conversions 2010-05-05 15:52:04 +02:00
Jörn Zaeffferer
581dea46cc Added phoneUK and mobileUK methods to additional-methods.js (http://plugins.jquery.com/node/12359) 2010-02-10 10:12:51 +00:00
Jörn Zaeffferer
e062af27ea * Added an integer method to additional-methods.js (http://plugins.jquery.com/node/9612) 2009-11-30 19:43:30 +00:00
Jörn Zaeffferer
f394bbc85a * Fixed a missing semicolon in additional-methods.js (http://plugins.jquery.com/node/9233) 2009-11-30 18:10:16 +00:00
Jörn Zaeffferer
25bf058bfd validate: Enhanced min/max/rangeWords (in additional-methods.js) to strip html before counting; good when counting words in a richtext editor 2009-09-15 09:34:52 +00:00
Jörn Zaeffferer
ce7c5baa4e 2009-08-01 11:54:55 +00:00