1 Reply Latest reply on Sep 2, 2008 1:32 PM by Newsgroup_User

    Dynamic alpha filter

    keyman Level 1
      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
        • 1. Re: Dynamic alpha filter
          Level 7
          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.