Re: HTML_QuickForm Select and XHTML
| From: | Alexey Borzov | Date: | Sat, 01 Nov 2008 12:11:50 +0000 |
| Subject: | Re: HTML_QuickForm Select and XHTML | ||
| References: | 1 | Groups: | php.pear.general |
| Request: | Send a blank email to pear-general+get-29397@lists.php.net to get a copy of this message | ||
Hi,
Jeff Bader wrote:
I am noticing that HTML_QuickForm generates <select ...></select> in the event that a select element has no options, but am trying to understand if there is a way for it to generate <select... /> instead? Anyone out there know if this is possible?It's not possible. It's also invalid XHTML either way, <select> must contain at least one <option> or <optgroup>, see the DTD.