в модель которую запрашиваете
public function rules()
{
return array(
array('email, password', 'required'),
);
}
поля email password будут с звездочкой
<div class="form">
<?php $form=$this->beginWidget('CActiveForm', array(
'id' => 'RegistrationForm_User',
'enableClientValidation' => false,
)); ?>
<?php echo $form->errorSummary($model); ?>
<div class="dr-col-50">
<div class="row">
<?php echo $form->labelEx($model, 'full_name'); ?>
<?php echo $form->textField($model, 'full_name'); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model, 'email'); ?>
<?php echo $form->textField($model, 'email', ['placeholder' => 'E-mail']); ?>
</div>
<div class="row">
<?php echo $form->labelEx($model, 'password'); ?>
<?php echo $form->passwordField($model, 'password'); ?>
</div>
</div>
<div class="clearfix"></div>
<?php $this->endWidget(); ?>
</div>