Zend: wrap FormErrors with user-defined html tags
问题 Zend talk.By default,using the FormErrors decorator the generated list of errors has the following markup: <ul class="form-errors> <li> <b>[element label or name]</b> <ul> <li>[error message]</li> <li>[error message]</li> </ul> </li> </ul> Question: How can I use the following structure instead? <span class='myErrors'> •[error message]</br> </span> Update: I tried with: array('FormErrors', array( 'markupListStart' => "<span class='myErrors'>", 'markupListEnd' => '</span>',