Archives: 2009 February 16

Validation scenarios

February 16th, 2009, 16 Comments

As of Yii 1.0.2 you may now define validation scenarios. This is very useful if for instance you have multiple places in your application that you validate a model, but in each instance you may want different validation rules. For instance, perhaps in your user registration form you want to have the “username”, “email” and […]

Feed / 2009 February 16