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):
1 2 3 4 5 6 7 |
public function init() { $this->clearDecorators(); $this->setDecorators(array('FormElements', 'Form')); (...) } |
This should do the trick.