Error decorator input errors such way:
<ul class="error">
开发者_JAVA技巧 <li>Error message</li>
</ul>
How can i remove this tags and leave only error message text?
I think a neat solution to the problem is to create your own custom decorator, and use it instead of the "Errors" decorator.
$errors = $zendForm->getErrorMessages();
I think this should work? Not 100% sure though I don't have time to check documentation.
精彩评论