Hi there! I'd like to build a drop down selection list that allows the user to a) select an alternative from a set of presets b) enter his own alternative if the one he's looking for is not in the list of presets. What's the best way of doing that in Rails? alex
on 2007-01-29 15:59
on 2007-01-29 18:42
on 2007-01-29 20:16
On 1/29/07, bobes <email@example.com> wrote: > The first solution would be easier to do but once user would click on > the "Add new item", there would be no way to go back to the list. There's no reason why you need to get rid of the list if the user clicks on "Add new item...". I would keep the list there so that if they select something other than "Add new item...", it hides the text input box and uses the selected value from the drop down menu. Mike
on 2007-01-29 20:37
Yes, you are right. I thought of hiding the select box, once the input field appears but this is possible as well. Anyway, it would be wonderful to have a select box as in Microsoft Access with "not-in- list" event....