Skip to main content
Inspiring
September 19, 2013
Answered

SELECT Auto Complete

  • September 19, 2013
  • 1 reply
  • 871 views

I have a SELECT dropdown on the form and would like to have a function while user type then the dropdown will get the most close record for user to select.

I tried to look on the internet, but no luck, It seems that CFSelect does not have this option.

Any information is great appreciated,

Regards,

Iccsi,

    This topic has been closed for replies.
    Correct answer Carl Von Stetten

    Iccsi,

    AutoComplete widgets typically don't use SELECT elements; they usually build off of a standard text input box.  While I strongly discourage using <CFINPUT> (or any of the built-in ColdFusion UI tags), it does have an "autosuggest" attribute that triggers the type of behaviour you are looking for.  However, I would recommend looking at using jQueryUI's "autocomplete" widget, TwitterBootstrap's "typeahead" widget, or any number of other JavaScript/CSS AutoComplete solutions.

    HTH,

    -Carl V.

    1 reply

    Carl Von Stetten
    Carl Von StettenCorrect answer
    Legend
    September 19, 2013

    Iccsi,

    AutoComplete widgets typically don't use SELECT elements; they usually build off of a standard text input box.  While I strongly discourage using <CFINPUT> (or any of the built-in ColdFusion UI tags), it does have an "autosuggest" attribute that triggers the type of behaviour you are looking for.  However, I would recommend looking at using jQueryUI's "autocomplete" widget, TwitterBootstrap's "typeahead" widget, or any number of other JavaScript/CSS AutoComplete solutions.

    HTH,

    -Carl V.

    iccsiAuthor
    Inspiring
    September 19, 2013

    Thanks a million for the information and help,

    Regards,

    Iccsi,