php - Yii error summary default message change -
hi not familiar yii framework, can show me how change default errorsummary message? i've looked @ yii guide , confused me. need add model , need in view? thanks
write default message rules section of model shown below
public function rules() { array('attrubutename', 'required','message' => 'your message'), }
updated try
<?php echo $form->errorsummary($model,'your message goes here'); ?>
Comments
Post a Comment