Zend automatically adds tags around form elements it has generated. How may I remove these tags as paramaters to the addElement function.
I have tried changing the disableLoadDefaultDecorators flag, however the element does not render at all then.
For example: $searchForm->addElement('text', 'searchText', array('class'=>'onClickClear', 'disableLoadDefaultDecorators' => true));