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

Popular posts from this blog

matlab - Deleting rows with specific rules -

image - ClassNotFoundException when add a prebuilt apk into system.img in android -