HTML_QuickForm Patch
| From: | Joshua Eichorn | Date: | Thu, 03 Jun 2004 16:53:01 +0000 |
| Subject: | HTML_QuickForm Patch | ||
| Groups: | php.pear.dev | ||
| Request: | Send a blank email to pear-dev+get-29953@lists.php.net to get a copy of this message | ||
Adding the following check to swapOptions will allow html_quickform to work with multi-select
." ctl = frm.form[grpName+'['+i+']'];\n"
." if (ctl == null) {\n"
." ctl = frm.form[grpName+'['+i+'][]'];\n"
." }\n"
Of course the next level is still only populated off the first option selected so it doesn't work quite how you would expect with multiple levels of multi-select but at least it works.
-josh