Multiple Errorsummary For Same Model

Is it possible to create two or more instances of errorSummary for one model form on the same page?

If so, is it possible to target a specific errorSummary instance for specific form attributes?

I suppose the answer is ‘yes’, you just have to override a couple of methods (use the API reference), but I wonder what’s the usecase for that.

Suppose you have a really long form, which you split up into sections. Often the errorSummary is placed right at the top of the page. So ideally I want an errorSummary to appear in every section of the form, and only display the errors for that section.

I think it would be better for you to split errors array manually. Or you can extend the chtml (or form) adding function errorsummaryextended($fields = array()) and use this one.