Re: html_quickform_advmultiselect 0.5.0 preview is available

From: Date: Wed, 29 Jun 2005 16:41:55 +0000
Subject: Re: html_quickform_advmultiselect 0.5.0 preview is available
References: 1 2  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-38375@lists.php.net to get a copy of this message
Hi Philippe, Philippe Jausions wrote:
Laurent Laville wrote:
hi all, The next release 0.5.0 of HTML_QuickForm_advmultiselect is on way. Please, have a look (and test if possible), this version which adds: - auto arrange select lists (if requires)
The auto-sort seems to happen only when adding or removing items, instead of when the form moes back after clicking on one of the sort buttons (note that it is a bit contradictory with your note on "POST" order.) I would also think that feature should be enabled by the form programmer only and not by the end user, so to not clutter the space and avoid round-trips to the server... Otherwise, a set of check of radio buttons or checkboxes **may** be a better choice for the sort order instead of the 3 buttons. Something like "Asc", "Desc" checkboxes and a "Sort" button. It seems clearer to me, especially that "No auto arrange" button. However, this may not simplify the overall usability of the element. Hence, that sort feature should. There are misunderstood here . The buttons *auto arrange* , *no arrange* are only for the pupose demo
and are not included into the advmultiselect solution. I put it only to have a switch rather than 3 differents scripts (live demo) if you read the source code you will see that the sort option is given on the class constructor , so its a programmer issue and not user-end.
- adds move up and down button to arrange selection list as you want
When you select multiple items (Ctrl+Click) in the "selected" list, the "Up" and "Down" only move the first one. - keep POST order when redisplay New suggetion: The last moved items should be highlighted in the destination list. It would give a nice feedback to the end user, especially when the list is auto-sorted. What is the "reset" button supposed to be doing?
nothing special except as standard form reset button behaviour
Otherwise, good job, this thing is getting full featured quickly... -Philippe Laurent


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