root / trunk / web / dojo / dojox / validate / README @ 10
History | View | Annotate | Download (2.17 KB)
| 1 | 9 | andrej.cim | ------------------------------------------------------------------------------- |
|---|---|---|---|
| 2 | dojox.validate |
||
| 3 | ------------------------------------------------------------------------------- |
||
| 4 | Version 0.02 |
||
| 5 | Release date: 07/12/2007 |
||
| 6 | ------------------------------------------------------------------------------- |
||
| 7 | Project state: experimental / beta |
||
| 8 | ------------------------------------------------------------------------------- |
||
| 9 | Credits |
||
| 10 | port: Peter Higgins (dante) |
||
| 11 | contributions: Kun Xi (bookstack at gmail com), Jared Jurkiewicz |
||
| 12 | ------------------------------------------------------------------------------- |
||
| 13 | Project description |
||
| 14 | |||
| 15 | Provides a set of validation functions to match |
||
| 16 | values against known constants for use in form |
||
| 17 | validation, such as email address, TLD, ipAddress, |
||
| 18 | country-specific phone numbers and SSN, among |
||
| 19 | others.. |
||
| 20 | |||
| 21 | It is broken into many parts. dojox.validate._base |
||
| 22 | is required by most named modules in this project. |
||
| 23 | |||
| 24 | ca.js provides Canadian specific functionality |
||
| 25 | |||
| 26 | check.js provides an experimental form-management utility, |
||
| 27 | which will likely be deprecated in favor |
||
| 28 | |||
| 29 | creditCard.js provides validation functions for most standard |
||
| 30 | credit card types. |
||
| 31 | |||
| 32 | isbn.js validates ISBN numbers |
||
| 33 | |||
| 34 | regexp.js provides a strange place to put regular expressions |
||
| 35 | related to validation. It was formerly polluting namespaces |
||
| 36 | and created in `dojox.regexp`. This is now `dojox.validate.regexp` |
||
| 37 | to confine values to the dojox.validate project. |
||
| 38 | |||
| 39 | us.js provides US-Specific validation. Zip, Social, etc. |
||
| 40 | |||
| 41 | web.js provides url and email address validation, as well as a number |
||
| 42 | of web/network related validation functions. |
||
| 43 | |||
| 44 | br.js provides Brazil specific validators for CNPJ and CPF numbers. |
||
| 45 | |||
| 46 | ------------------------------------------------------------------------------- |
||
| 47 | Dependencies: |
||
| 48 | |||
| 49 | Requires Base Dojo and dojo.regexp. |
||
| 50 | |||
| 51 | ------------------------------------------------------------------------------- |
||
| 52 | Installation instructions |
||
| 53 | |||
| 54 | Grab the following from the Dojo SVN Repository: |
||
| 55 | |||
| 56 | http://svn.dojotoolkit.org/src/dojox/trunk/validate.js |
||
| 57 | http://svn.dojotoolkit.org/src/dojox/trunk/validate |
||
| 58 | |||
| 59 | Install into the following directory structure: |
||
| 60 | /dojox/validate/ |
||
| 61 | |||
| 62 | ...which should be at the same level as your Dojo checkout. |