Skip to content

Commit

Permalink
Merge pull request #690 from zachshallbetter/master
Browse files Browse the repository at this point in the history
Added US Zip Code and Full Name to EN
  • Loading branch information
posabsolute committed Mar 10, 2014
2 parents d81997e + 8414a7f commit ab894c7
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions js/languages/jquery.validationEngine-en.js
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,14 @@
"regex": /^(([^<>()[\]\\.,;:\s@\"]+(\.[^<>()[\]\\.,;:\s@\"]+)*)|(\".+\"))@((\[[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\.[0-9]{1,3}\])|(([a-zA-Z\-0-9]+\.)+[a-zA-Z]{2,}))$/,
"alertText": "* Invalid email address"
},
"fullname": {
"regex":/^([a-zA-Z]+[\'\,\.\-]?[a-zA-Z ]*)+[ ]([a-zA-Z]+[\'\,\.\-]?[a-zA-Z ]+)+$/,
"alertText":"* Must be first and last name"
},
"zip": {
"regex":/^\d{5}$|^\d{5}-\d{4}$/,
"alertText":"* Invalid zip format"
},
"integer": {
"regex": /^[\-\+]?\d+$/,
"alertText": "* Not a valid integer"
Expand Down

0 comments on commit ab894c7

Please sign in to comment.