E-mail validator

Added an e-mail validator to the form package. The validator is really
primitive and will only accept a small subset of email addresses, but I
needed one *now*.
This commit is contained in:
Emmanuel BENOîT 2012-02-06 00:10:24 +01:00
parent f80d739f5d
commit 62a4d0a391
2 changed files with 24 additions and 0 deletions
includes/form

View file

@ -22,3 +22,4 @@ $package[ 'extras' ][] = 'Modifier_TrimString';
$package[ 'extras' ][] = 'Validator_StringLength';
$package[ 'extras' ][] = 'Validator_InArray';
$package[ 'extras' ][] = 'Validator_IntValue';
$package[ 'extras' ][] = 'Validator_Email';