Re: New component for QF: selectfilter
| From: | Bertrand Mansion | Date: | Wed, 10 Nov 2004 20:39:49 +0000 |
| Subject: | Re: New component for QF: selectfilter | ||
| References: | 1 | Groups: | php.pear.dev |
| Request: | Send a blank email to pear-dev+get-34297@lists.php.net to get a copy of this message | ||
Nicolas Hoizey wrote:
>>>>I've created a new component for QuickForm which gives the ability to
>>>>add a text box that will be used to filter data in one or more select
>>>>boxes.
>>>
>>>Isn't this what the herselect element does?
>>
>> No, hierselect lets you populate a select box based on the value of
>> another select box. This new one lets you type a string and filters
>> the select box accordingly.
>
>I have to add that the filter can be used to get options that begin with
>the text you specify, or contain that text. This is the aim of the
>"true" or "false" second parameter, after the name of the target select.
>
>My main question is whether I have conceived it right or not, as it is
>my first QuickForm element ...
What would you use this element for, in real life applications ?
Any examples ?
Bertrand Mansion
Mamasam