Re: New component for QF: selectfilter

From: Date: Wed, 10 Nov 2004 21:42:32 +0000
Subject: Re: New component for QF: selectfilter
References: 1  Groups: php.pear.dev 
Request: Send a blank email to pear-dev+get-34298@lists.php.net to get a copy of this message
What would you use this element for, in real life applications ? Any examples ?
I already used it in an application where I have a select box of more than 100 clients, each option being represented by a string containing both the reference and the name of the client. I can type part of the reference or part of the name of the client, and the select box is filtered to show me only a part of the list. It is then easier to select the one I want. (maybe you have already noticed that if there is only one value left, it is automagically selected). This is just a real life example, I have already seen many people interrested in this component for other usages in web applications. Imagine this used to filter a list of countries, or a list of artists, or whatever you need to have in a list with more than 10 options. The good thing IMHO is that it is just a facility, you don't *have to* use the filter in order to make the selection. I prefer this to another solution that many people use: popups with lists of values, and inactive text fields in the form that are filled in with the value selected in the popup. -Nicolas -- Nicolas "Brush" HOIZEY Clever Age : http://www.clever-age.com/ Gastero Prod : http://www.gasteroprod.com/ phpMyChat : http://phpmychat.sf.net/

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