Re: Optselect in HTML_QuickForm
| From: | Alexey Borzov | Date: | Mon, 25 Oct 2004 20:55:12 +0000 |
| Subject: | Re: Optselect in HTML_QuickForm | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34072@lists.php.net to get a copy of this message | ||
Hi,
Ian P. Christian wrote:
RE: http://pear.php.net/bugs/bug.php?id=1283
I saw this, though it was something I could do. I propose creating an extra element type, which accepts an array like this...
$array ('group1' => array('option1' => 'option1', 'option2' => 'option2'),
'group2' => array('option1' => 'option1', 'option2' => 'option2'),
);
Any ideas before I start work are welcome.
Please try adding it to an existing select element first. I do not like an idea of special element just for optgroup support.