Remove DL element from form

When displaying form in Zend Framework, it wraps form elements with <dl> tags. To avoid this situations (for example to use custom decorators for elements) we can reset form decorators and set theme like this (init() function of form class):

This should do the trick.

Leave a Reply