QuickForm: setElementTemplate() throwing off alignment when style applied to only two element types

From: Date: Tue, 23 Aug 2005 21:35:25 +0000
Subject: QuickForm: setElementTemplate() throwing off alignment when style applied to only two element types
Groups: php.pear.general 
Request: Send a blank email to pear-general+get-20558@lists.php.net to get a copy of this message
WIthout a custom renderer, it looks fine. When I add the renderer snippet below, it goes into a java-like flow rendering - that's why I add the <BR> tags. It works fine except when a radio group or advcheckbox element is added. Anyone had this issue? Thanks in advance. $renderer->setElementTemplate( '<label class="formT">{label}<!-- BEGIN required --><span>*</span><!-- END required --></label> <!-- BEGIN error --><span style=>{error}</span><br/><!-- END error -->{element}<br/>' ); __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com

« previous php.pear.general (#20558) next »