You firstly need to remove the DtDdWrapper decorator from the form.
Secondly, from each element, get the Label decorator, and set the tag property to null,
and lastly, for each element, remove the HtmlTag decorator.
ala:
<?php
class My_Form extends Zend_Form
{
public function init()
{
//Add elements first.
$this->removeDecorator('HtmlTag');
foreach ($this->getElements() as $element) {
$element->getDecorator('Label')->setTag(null);
$element->removeDecorator('HtmlTag');
$element->removeDecorator('DtDdWrapper');
}
}
}
This will leave the file element's important File Element decorator intact, while stripping the others from all your elements.