Documentation bug #48

melkorm opened this Issue Jul 31, 2011 · 0 comments


None yet

1 participant

melkorm commented Jul 31, 2011

// We can define rules for fields, just like in normal CModel/CActiveRecord classes public function rules() { return array( array('login, email, personal_no', 'required'), array('personal_no', 'numeric', 'integerOnly' => true), array('email', 'email'), ); }

it should be numerical not numeric

edit : added link to docs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment