Do I have to write a replacement for Zend_Form_Decorator_Label to have it
wrapped in NO tag?

When doing any of these...

$someElement->getDecorator('Zend_Form_Decorator_Label')->setTag('');
$someElement->getDecorator('Zend_Form_Decorator_Label')->setTag(null);
$someElement->getDecorator('Zend_Form_Decorator_Label')->setTag(false);

the tag that wraps around the label element resolves like this: <><label ...
></label></>

I'm developing a form that has some highly customized html so I'm just doing
a lot of this in my view-script: 

<?php echo $this->form->email; ?>

Instead of just echoing the whole form. I won't be wrapping any of the
elements in a definition list, but I would still like to use the label
decorator. 

Thanks,
Adam
-- 
View this message in context: 
http://www.nabble.com/No-DT-tag-for-label-decorator-tp17615996p17615996.html
Sent from the Zend Framework mailing list archive at Nabble.com.

Reply via email to