Skip to main content
September 2, 2008
Question

Dynamic alpha filter

  • September 2, 2008
  • 1 reply
  • 259 views
I'd like to query about 2000 alpha names from a file, then allow the user to start typing a filter argument into a field. The more letters they type, the more specific the filter of the queryied names gets, the results being displayed in a drop-down box, until the drop-down selection list gets short enough that the user can see the desired selection, and then click on it to confirm the drop-down choice... Has anyone implemented something like this in a CF webpage?

-keyman
This topic has been closed for replies.

1 reply

Inspiring
September 2, 2008
keyman wrote:
> Has anyone implemented something like this in a
> CF webpage?
>
> -keyman
>

Yes, many people have.

You are describing a standard 'Auto Suggest' or 'Combo Box' feature.

There are examples of this functionality using CF8's built in AJAX
functionality.

If you do not have 8, but are still willing to look at the AJAX
solution, you can use something like CFAJAX or CFCAJAX.

Otherwise you can look at an entirely JavaScript solution, but that will
require the delivery of the entire 2000 name list to the browser client
in a single request.