Re: [QF] Advanced Select

From: Date: Tue, 16 Mar 2004 12:35:04 +0000
Subject: Re: [QF] Advanced Select
References: 1  Groups: php.pear.general 
Request: Send a blank email to pear-general+get-11320@lists.php.net to get a copy of this message
Hi! Eric B. Blanchi wrote:
Current Task: I want to customize the above into one single element/group, a bit like hierselect customize 2 select into one element. Question: has this kind of element/group been already done by someone? Seems to me it is fairly useful when one needs to select multiple entries from a very long list. The usability of a single select with multiple=true is not good enough.
Well, I did such stuff myself, but did not do it good/abstract enough to include it in QuickForm distribution. BTW, how exactly do you handle submitting the form? Do you select everything in select (B) via javascript?
Question: is there a tutorial on how to do user-defined elements? is it in the doc and I've missed it?
There is no good tutorial currently. :[ There is a description of base HQ_element class in the docs: http://pear.php.net/manual/en/package.html.html-quickform.html-quickform-element.php Besides, look at the date and hierselect elements, their code may push you in the right direction. Feel free to ask questions here also.

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