Web Analytics Made Easy -
StatCounter combined dropdownlist and textbox - CodingForum


No announcement yet.

combined dropdownlist and textbox

  • Filter
  • Time
  • Show
Clear All
new posts

  • combined dropdownlist and textbox

    I need to find a control in ASP that operates more like an Access combobox and less like an ASP dropdownlist. I need to have a list of possible choices, but also allow the user to enter any random string of text he wants to. The purpose of the dropdown is to increase speed and accuracy when using common data, but the user shouldn't be limited to only the most common responses.

    For example, the dropdown might have "red", "green" and "blue", but the user could type in "black" or "periwinkle", or even "yellwo". Misspelling isn't really an issue.

    This operation is identical to an MS Access "combobox" with the attribute "LimitToList = false".

  • #2
    I have info on creating a combo box at http://www.felgall.com/htmlt51.htm which uses HTML and a single Javascript command.
    Learn Modern JavaScript - http://javascriptexample.net/
    Helping others to solve their computer problem at http://www.felgall.com/

    Don't forget to start your JavaScript code with "use strict"; which makes it easier to find errors in your code.