public function rules() { return array( array('username, password, passwordAgain, email, zip, lookingFor, gender, interestedIn', 'required'), array('username, email', 'unique', 'className'=>'User'), array('password', 'length', 'min'=>'6', 'max'=>'16'), array('username', 'length', 'min'=>'5', 'max'=>'24'), array('verifyCode', 'captcha'), array('password', 'compare', 'compareAttribute'=>'passwordAgain'), array('email','email'), ); }
My problem is:
Property "RegisterForm.isNewRecord" is not defined.
The 'exist' rule works just fine, as do others. Am I doing something wrong with this rule?