2010
01.16
01.16
Few conversations with colleagues later and a few small changes to the validation framework.
- Fixed typo in adding custom rules test.
- Added “length less than”, “length greater than” and “is a number” rules
- Updated example to include some of the new validation rules
What next?
Date validation seems to be one that keeps cropping up. DateJs provides a great library for dealing with all sorts of date formats. Im considering whether this should be an optional set of rules as the sizes of DateJs would negate the bennifit of the small validation core if included with it. I’m also considering an optional set of patterns for common international problems (e.g.Email address and Uri), if they are small enough perhaps they should be in the core as well.
No Comment.
Add Your Comment