emailvalidation

Customize Email Validation
4 followers

Customize Email Validation

  1. Download Zip Folder.
  2. Put into protected/Extension Directory.

You can customize this extension as per your requirement.

Usage:

array('email', 'ext.Email'),

Total 5 comments

#13345 report it
samilo at 2013/05/23 09:35am
Good

Thanks Ravi to explain that , yes that's true if you post email as test@gmail.123 , yii email validate will accept it without any error , So let's say that for Yii Development team :) to fix it in future .

post it here : http://www.yiiframework.com/forum/index.php/forum/11-bug-discussions/

#13313 report it
Ravi P Thanki at 2013/05/22 05:21am
Reply

Yii defulat email validation allow this type of input test@gmail.123 it is not valid. and this type of input not allowed in this extension.

#13311 report it
WebDevPT at 2013/05/22 05:06am
Unless you...

Unless you explain why your extension works differently than what Yii already offers, we will have no use for it.

If we understood you wrong, please elaborate and show a demo.

#13309 report it
Rohit Singhal at 2013/05/22 03:17am
Delivered Yii already have the same

I YII provides this functionality and other similar custom validation can be done using Regex Validator. Yii provide really strong validation structure.

#13297 report it
samilo at 2013/05/21 07:45am
What's new ?

Hi , What's new ?

in yii model we had email validate :

model :

<?php
...
    array('email', 'email','message'=>'This is not valid email '),
....
 
?>

Leave a comment

Please to leave your comment.

Create extension
Downloads