Re: Option Transfer in QF

From: Date: Fri, 11 Feb 2005 23:46:15 +0000
Subject: Re: Option Transfer in QF
References: 1 2 3  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-17496@lists.php.net to get a copy of this message
Ken Restivo wrote:
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On Fri, Feb 11, 2005 at 02:15:51PM -0800, Justin Patrin wrote:
On Fri, 11 Feb 2005 13:53:15 -0800, Ken Restivo <ken@restivo.org> wrote:
Has anyone implemented multiselect option transfer using QF? I'd rather not be blazing new ground on which no human has ever tread. Basically an option-transfer is somewhat similar to a heirselect, and if I had to implement it myself I'd probably start by subclassing or copy-pasting the heirselect code. Here's a non-QF example: http://www.quirksmode.org/js/transfer.html
<snip> Funny you should ask now. There are no currently published implementations, but Jamie Alessio is working on one (CCed to this message). It may even be done by now. Check the PEAR-Dev list for the discussion about it.
Interesting... and pretty slick. Alas, I can't use it. His advmultselect implementation (with your suggestion of a hidden field) now seems to use JS exclusively and won't work
at all in non-JS browsers. But there are some good ideas there and that will help me along, thanks. Ken,
How do you propose implementing this without relying on javascript? Based on input from members of the pear-dev list I plan to have the form element default to a normal multi-select input when javascript isn't available in the browser, but I haven't had a chance to implement it yet. I'd like to hear your ideas on it and hopefully combine our work into a single new QF element type - no sense in both of use creating the exact same thing. - Jamie

« previous php.pear.general (#17496) next »