simulate drop down auto suggest

Steve Linn shared this question 5 years ago
Answered

How can I simulate auto suggest drop down?


I have a text box, when you click in it, it sets the value to empty


When someone starts typing in characters i want to auto suggest words


It does not need to work dynamically - so if someone types in "best"


I just want to show a box below with a static list I create, then when they select the word, it puts it into the text box


...or any other way to simulate auto suggest

Comments (6)

photo
1

Hi Steve,


I created a sample prototype for you: http://www.justinmind.com/prototyper/... but with some modifications. Instead of clicking the search button, the datagrid automatically shows up when it detects similar word from your datamaster. When you found the word you want, you can just click it and it will populate the text field. However, if the text field is empty, it will hide the data grid."

photo
1

Dude, above and beyond


cheers

photo
1

Victor, Thanks, That's an amazing sample! Do you know if there any place where I can find more widgets like this?


Elena

photo
1

You can additional widgets in this section of our web site http://www.justinmind.com/widgets

photo
1

Hi Victor,


I'm creating a variable to store the value from the input field from your example and I have a success only with storing the keyboard value, but not the one that came from the DropDownList. Could you please give me a hint, how to store the value in the variable that comes after finishing the operation - it's the keyboard value or the value from dropdown if that was selected.


Thanks

photo
1

This is great thanks!