Single form error

How can I trap for any form validation error and show only one message, based on type of error? I don’t have room to display all the field errors.

As you posted in the Yii 1.0 section… are you using that version ?

As for your question check the source of errorSummary() to see how to get/process the errors - http://www.yiiframework.com/doc/api/1.1/CHtml#errorSummary-detail

Sorry, I’m using 1.1.8. I posted this in the wrong place. I’ll take a look at that source. Thanks.

No worries.

Topic moved. :)

Ok, so what is the best way to simply override this method?