dropdownlist question
-
I have a dropdownlist of 5 items, but user wants one that is not in the list. How do I allow for user input/editing of a dropdownlist? Krisman
I think what you are looking for is something similiar to the combobox that you get in a desktop environment. In the desktop world, the combo can be a list of items or you can set it up so it can be a list and act as a text box that lets the user enter what they want. Unfortunately in the web world we don't have that option. There are a couple different ways to work around it. One you could create your combo with your 5 items but also add another one that says custom or other. When that is selected have a textbox near the combo that allows the user to enter what they want. We use this approach and have the textbox disabled unless they select "other" Hope this helps Kevin
-
I think what you are looking for is something similiar to the combobox that you get in a desktop environment. In the desktop world, the combo can be a list of items or you can set it up so it can be a list and act as a text box that lets the user enter what they want. Unfortunately in the web world we don't have that option. There are a couple different ways to work around it. One you could create your combo with your 5 items but also add another one that says custom or other. When that is selected have a textbox near the combo that allows the user to enter what they want. We use this approach and have the textbox disabled unless they select "other" Hope this helps Kevin