Re: HTML_QuickForm Patch

From: Date: Thu, 03 Jun 2004 17:46:57 +0000
Subject: Re: HTML_QuickForm Patch
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-29954@lists.php.net to get a copy of this message
Hi! Joshua Eichorn wrote:
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.
If you don't want this to be lost, please submit it to the bug-tracker. Thanks in advance!

« previous php.pear.dev (#29954) next »