Reputation: 4459
Error decorator input errors such way:
<ul class="error">
<li>Error message</li>
</ul>
How can i remove this tags and leave only error message text?
Upvotes: 0
Views: 790
Reputation: 321
I think a neat solution to the problem is to create your own custom decorator, and use it instead of the "Errors" decorator.
Upvotes: 1
Reputation: 83755
$errors = $zendForm->getErrorMessages();
I think this should work? Not 100% sure though I don't have time to check documentation.
Upvotes: 0