completeamateur Posted November 16, 2008 Share Posted November 16, 2008 Hi there, I have been redesigning my websites using the Zend Framework (namely www.footieclassics.com), but have come across a little annoyance. Using hidden elements in Zend Form seems to generate unwanted <dd>/<dt> tags which then cause some horrible white space. Is there any way to eliminate this? <dd> <input type="hidden" name="cmd" value="_xclick" id="cmd"> </dd> <dt> </dt> TIA Link to comment https://forums.phpfreaks.com/topic/132993-zend-form-hidden-elements-produce-unwanted-tags/ Share on other sites More sharing options...
corbin Posted November 16, 2008 Share Posted November 16, 2008 You'll probably have to remove the decorators from them or something. They shouldn't have anything else around them. Link to comment https://forums.phpfreaks.com/topic/132993-zend-form-hidden-elements-produce-unwanted-tags/#findComment-691684 Share on other sites More sharing options...
takeme2web Posted February 26, 2010 Share Posted February 26, 2010 $yourhiddenzendformelement->setDecorators(array('ViewHelper')); should get rid off any whitespace Link to comment https://forums.phpfreaks.com/topic/132993-zend-form-hidden-elements-produce-unwanted-tags/#findComment-1018696 Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.