Page 1 of 1

Text Field and Select Menu as one?

Posted: Fri Feb 09, 2007 3:34 pm
by curseofthe8ball
I'm not sure if this is even possible but I'll toss the idea out there.

We have a search function on a site where the standard textfield is displayed along with a Submit button. This works fine but we now would like to make this search function a little more advanced. We have preselected some keywords that people do alot of searching on our site for and would like to put those keywords into a select menu for someone to choose from.

The problem is, space is limited in our design so we can't display both a textfield and a select menu. What I'm wondering is if there is anything out there that can make a text field turn into or act like a select menu and vice-versa?

Posted: Fri Feb 09, 2007 3:37 pm
by RobertGonzalez
Moved to Client Side.

Posted: Fri Feb 09, 2007 3:37 pm
by RobertGonzalez
This is possible, but only with Javascript. Google the term 'javascript autocomplete' or 'autosuggest' and you may find a few things that will work for you.