Ajaxによるバリデーションチェックを複数付与する
コントローラのactionCreate()またはactionUpdate()メソッドの
performAjaxValidation()に必要なモデルオブジェクト配列を引数に加える
■実装例
【/protected/controllers/userController.php】ファイルのperformAjaxValidation()を修正
$user = new User;
$user_detail = new UserDetail;
// バリデーション対象のオブジェクトを引数に加える
$this->performAjaxValidation(array($user, $user_detail));