I would like to display the error fields that is returned from CHtml::errorSummary() ordered by the same sequence of declaration in my html.
Is that possible? Or should be a new feature request.
The order could be the same declared in method attributeLabels() from model.
The order of fields from my table now are not the same in my html.
Hope someone understand what I told. I feel myself confused to explain this.
I think they are displayed in the same order that the fields are validated.
Well, even if in my form the fields are ordered, the error summary is the same.
Check the order of the validation rules in the model.
I did it and nothing happened.
I hack the getErrors() method and addErrors() from model. So it works.