HTML_QuickForm style question
| From: | Pete Soderling | Date: | Wed, 10 Aug 2005 19:25:00 +0000 |
| Subject: | HTML_QuickForm style question | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-20357@lists.php.net to get a copy of this message | ||
Hello,
I have a question about HTML_QuickForm. I'm trying to figure out how to pass
an HTML style value when creating a SELECT element.
For instance, I would like the following HTML to be generated: <select
name="foo" style="f140">
I have tried code like the following (in addition to all of my other
QuickForm code), but it doesn't seem to do anything.
require_once 'HTML/QuickForm/Renderer/Array.php';
$test = new HTML_QuickForm_Renderer_Array();
$test->setElementStyle('select','f140');
Any suggestions are appreciated.
--pete