Implement any way to not display validation errors
In current implementation, form elements in
TbActiveForm are rendering internally all three key elements -- label, field and validation-error area.
This is cool in general, but you should consider implementing any feature (like for example $htmlOptions['noValidationErrors']) that would allow user to suppress these build-in, rendered internally error-fields. This is especially useful, when user is using his own error-fields, by adding them manually using
$form->error(). In this situation, without ability to suppress internal fields, user ends up with two error- fields for each edit-field.
Why one would want to render his or her own error-fields? Look, for example into this article for an answer and more details.