Quickform & in-line styles
| From: | l Burnerheimerton | Date: | Wed, 05 Jul 2006 18:30:44 +0000 |
| Subject: | Quickform & in-line styles | ||
| Groups: | php.pear.general | ||
| Request: | Send a blank email to pear-general+get-24568@lists.php.net to get a copy of this message | ||
I want to highlight a static field with data retrieved
from a database - make it non-editable.
I tried:
$form->addElement('static','note', 'Notes:',
array('style' => 'background-color: #FFFF80;'));
Obvisouly you can not, or I don't know of a way to,
add the 4th parameter to static fields.
I looked at freeze but don't think that is right
either.
Any ideas?
__________________________________________________
Do You Yahoo!?
Tired of spam? Yahoo! Mail has the best spam protection around
http://mail.yahoo.com