Re: HTML_QuickForm and improved version of advmultselect component

From: Date: Thu, 02 Jun 2005 00:30:44 +0000
Subject: Re: HTML_QuickForm and improved version of advmultselect component
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-37917@lists.php.net to get a copy of this message
On 6/1/05, Laurent Laville <pear@laurent-laville.org> wrote: > Hi all, > > I've rediscovered recently the multiple select box as mentioned into > PHPBarnstormer Issue #36 (March 07 - March 13, 2005) [1] > > "... > There was a query regarding the best way to extend HTML_Quickform to > create a multiple select box. Bertrand mentioned that this element was > recently created and pointed the developer to the example [3] and source > [4]. Bertrand continued by mentioning that if the developer wanted to > maintain such an element he would be happy to have it as a sub-package > of HTML_Quickform. > ..." > > And i think i'm not alone who have the need of a such component. > As it was not yet proposal as a sub-package, i would contact > original author first for his agreement (someone can tell me who he is > ?) I've started to improve its version and solved some features missing. > > I could then start a proposal if nobody is against this idea. > I'd like to mention for everyone's benefit that this isn't a normal multi-select, it's two select boxes next to each other emulating a multi-select. The original author is Jamie Alessio <Jamie.Alessio@ucop.edu>, CCed on this message. I did some talking with him and I've also created my own copy of this element. I don't remember exactly what I changed.... I know that I added the ability to double click on either select box to move elements from one side to the other (which I find very nice) and put quotes around HTML attributes as well. http://pear.reversefold.com/DualMultiSelect.phps One thing I'd still like to see if a template of some kind so that people can change the layout easily. I, for example, removed the border around the element, moved the buttons on top of each other, and added headers above the select boxes. I'm sure others would also like to change the layout entirely and change the text on the buttons, etc. -- Justin Patrin

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