How to show three model errorSummary,
I tired with use this code:
Controller
$StepsUser = StepsUser::model()->find("user_id=?", array($uid));
$StepsUserprofile = StepsUserprofile::model()->find("profile_userid=?", array($uid));
$StepsExtraprofile = StepsExtraprofile::model()->find("extra_user=?", array($uid));
$validateUser = $StepsUser->validate();
$validateProf = $StepsUserprofile->validate();
$validateExtr = $StepsExtraprofile->validate();
if($validateUser && $validateProf && $validateExtr) {
$StepsUser->update();
$StepsUserprofile->update();
$StepsExtraprofile->update();
}
View
echo CHtml::errorSummary(array($StepsUser,$StepsUserprofile, $StepsExtraprofile));