Narrowing down dropdown lists (Full Version)

All Forums >> [Web Development] >> ASP, PHP, and Database



Message


mseal1 -> Narrowing down dropdown lists (2/3/2003 16:20:58)

Hi,
I’m wondering if this is possible.
I have a DRW with a dropdown box that is used to select the items for a search screen.
All works fine, however, the dropdown list is very long. I would like the users to be able to start typing in the box and get to the area of the item.
I know that if I use the fist character it would work, but is there a way to open that field and allow the user to type and get closer to the search results?

Thanks




Spooky -> RE: Narrowing down dropdown lists (2/3/2003 17:59:15)

Expand a little? I would have suggested something similar:

a|b|c|d|e| .... etc

What type of value do you want them to enter, if a partial entry is searchable from the first letters , then youll use " WHERE COLUMN LIKE ' ::input::%'




rdouglass -> RE: Narrowing down dropdown lists (2/4/2003 10:54:35)

Would this be any help?




Spooky -> RE: Narrowing down dropdown lists (2/4/2003 13:43:31)

Cool :)




mseal1 -> RE: Narrowing down dropdown lists (2/4/2003 16:53:54)

Maybe I' m missing something, or just not explaining myself.
I' m using a DRW with a dropdown that displays all item in the table via the dropdown window.
I don' t have an input field as the DRW removed the search field and replaces it with the dropdown.

Thanks




rdouglass -> RE: Narrowing down dropdown lists (2/5/2003 9:31:28)

Take a look at this page. Does it do what you want? If so, that is a page (with the code listed on it) of how I took that script (I posted above) and stuck a dieted DRW into it...

At least I think that' s what you want to do... If not, sorry to waste your time...[:D]




mseal1 -> RE: Narrowing down dropdown lists (2/5/2003 10:32:25)

Looks good.
That is just about what I was looking for, however, before I try to move the code I was using the ' dropdown' as an entry for a second search, that way the user that may not know the format of values he is looking for can select from the dropdown and the search using that value. If I select the desired value in the lower box, can I pass it to the search page?


Thanks much, that is a great function!




rdouglass -> RE: Narrowing down dropdown lists (2/5/2003 10:39:33)

Do you have a URL we can look at to get a better idea about what we' re doing?




rdouglass -> RE: Narrowing down dropdown lists (2/5/2003 10:40:58)

quote:

If I select the desired value in the lower box, can I pass it to the search page?


I don' t see why you couldn' t. Just make sure the dropdown has the coorect name and the form posts to the proper page...




Page: [1]

Valid CSS!




Forum Software © ASPPlayground.NET Advanced Edition 2.4.5 ANSI
0.0625