23 Commits

Author SHA1 Message Date
Vance Lucas
6d36b12f76 Merge pull request #85 from Typeform/master
Add instanceOf to rules in readme.md
2014-07-29 13:00:00 -05:00
Victor Bjelkholm
9d90b08813 Show instance name in instanceOf error message 2014-07-29 16:39:14 +02:00
Justin Hook
9b5b0cff77 Fixes #64. Updated validateDateFormat to use warning_count for validation check 2014-07-26 15:47:50 +01:00
Victor Bjelkholm
8aa6ad1c5d Allow date to be DateTime object 2014-07-14 14:02:34 +02:00
Victor Bjelkholm
be9d21399c Uncomment CC test cases and add alternative syntax tests 2014-07-14 13:45:44 +02:00
Victor Bjelkholm
c59cfd54b0 Use old array syntax instead of new to keep compatibility 2014-07-14 12:58:09 +02:00
Victor Bjelkholm
ad0f6b9708 Add instanceOf validation 2014-07-14 12:43:00 +02:00
Vance Lucas
f52df87b56 Made the BC Math extension optional 2014-07-07 09:00:28 -05:00
Mark Cahill
272fe84b15 Run validation is field is non-null instead of truthy. Fixes #70 2014-05-27 15:31:13 -04:00
Vance Lucas
430a8324ec Merge pull request #53 from Kilte/feature-length
Add min/max-length validators
2014-04-10 10:53:37 -05:00
Justin Hook
631a5e2138 Updated min and max rules to use bccomp for number comparison. 2014-04-02 21:58:30 +01:00
Justin Hook
4fb6f478ef Fixed issue with Min/Max rules using decimals 2014-04-01 21:17:00 +01:00
Kilte
8871f81476 Add min/max-length validators 2014-01-25 21:18:42 +04:00
Andrew Willis
d7ec85ef48 and again with the array thing making valid for php5.3 2014-01-10 06:58:18 +00:00
Andrew Willis
f26a1f55b4 fixed indentation and php5.3 array syntax 2014-01-10 06:54:10 +00:00
Andrew Willis
2d0790b984 Added credit card validation for Visa, Mastercard, American Express, Dinersclub and Discover 2014-01-09 22:05:23 +00:00
Kilte
db6d49baf6 Fix #33 Validation for length - Message is incorrect for between cases 2014-01-07 00:08:09 +04:00
Vance Lucas
add2cc92d2 Merge pull request #31 from biggingernerd/master
Added validator for boolean
2013-11-11 13:05:13 -08:00
Vance Lucas
d51f4c0fa5 Always use custom label in place of field name
Fixes: https://github.com/vlucas/valitron/issues/32
2013-11-11 15:02:19 -06:00
Martijn van Maasakkers
66d62dd96d Removed silly string = true check 2013-10-15 21:21:30 +02:00
Big Ginger Nerd
da56650a52 Added test 2013-10-15 15:01:56 +02:00
Vance Lucas
5dc7fd9fb3 Add support for associative arrays using 'in' 2013-08-30 10:31:57 -05:00
Marcos Neves
611f264885 Add a BaseTest class to reset static properties on setUp and tearDown 2013-08-16 23:02:13 -03:00