How To Get The Error From Error Summary

How to get the error based on field name from error summary




	<?php echo $form->errorSummary($model); 



It will display all errors. But I have to get errors for single field (like array). Is it possible?

<?php echo $form->error($model,‘feild_name’); ?>

Check this link

http://www.yiiframework.com/doc/api/1.1/CActiveForm#error-detail

Dear Brother




$model->getErrors("attributeName");



This will bring all the errors in array format for a particular attribute.

Thank you friends