Simple question regarding INPUT html tag

M

MDB

I built a simple ASP page that looks up part numbers in an Access database
The page populates a drop down control ( a basic INPUT html tag ) with part numbers
This drop down contains over 1000 part numbers and is very difficult to use
Is there any way I can make the drop down editable
I can type the first number of a part number and the control will drop down and start the list from the number I entered but I need it to be editable so I can type more numbers to get a closer match
Example: The part number I was to select is 795-01-1
If I type a 7, the list will drop down and start at 700-00-00 but I have to scroll the list through 95 items to get to the part number I want. As soon as I type the next number, the 9, the drop down starts the list at 900-00-0
I need to be able to type 795 to get a more exact match in the drop down control
Is this possible

thanks
 
U

Utada P.W. SIU

I think it is impossible to do if using <select> tag as it is non-editable
in my opinion
I think you can using two control, one should be input text box and the
other one should be a select menu
then allow user input the number in text box, and the select menu will be
move to appropriate position by using javascript.

does it fulfill your need?

MDB said:
I built a simple ASP page that looks up part numbers in an Access database.
The page populates a drop down control ( a basic INPUT html tag ) with part numbers.
This drop down contains over 1000 part numbers and is very difficult to use.
Is there any way I can make the drop down editable?
I can type the first number of a part number and the control will drop
down and start the list from the number I entered but I need it to be
editable so I can type more numbers to get a closer match.
Example: The part number I was to select is 795-01-11
If I type a 7, the list will drop down and start at 700-00-00 but I have
to scroll the list through 95 items to get to the part number I want. As
soon as I type the next number, the 9, the drop down starts the list at
900-00-00
 
C

Chris Barber

Not easily but there are some examples of emulating it:
http://www.google.co.uk/search?hl=en&ie=UTF-8&oe=UTF-8&q=HTML+combo+box&spell=1

Chris.

I built a simple ASP page that looks up part numbers in an Access database.
The page populates a drop down control ( a basic INPUT html tag ) with part
numbers.
This drop down contains over 1000 part numbers and is very difficult to use.
Is there any way I can make the drop down editable?
I can type the first number of a part number and the control will drop down
and start the list from the number I entered but I need it to be editable so
I can type more numbers to get a closer match.
Example: The part number I was to select is 795-01-11
If I type a 7, the list will drop down and start at 700-00-00 but I have to
scroll the list through 95 items to get to the part number I want. As soon
as I type the next number, the 9, the drop down starts the list at 900-00-00
I need to be able to type 795 to get a more exact match in the drop down
control.
Is this possible?

thanks
 
M

MDB

Chris
I followed the link but does me no good. I'm trying to do this in an ASP page with a SELECT html tag
The drop down is not editable
I'm trying to find a way to make a drop down list box (or combo box in VB terminology) editable to assist the use in finding items in the list box. I can only enter a single character and it drops the list box down starting with that character. If I type a second character, the list box re-positions the items to the next character. Here is a basic example, so if you can follow. The dropdown contains the following items
100-00-0
120-00-0
200-00-0
220-00-0
300-00-0

Assume the number I want to find in the list box is 120-00-00. If I set focus to the drop down and enter the number 1, the dropdown starts at 100-00-00. I then enter the number 2 but the dropdown jumps to 200-00-0

If your unclear on what I'm asking, try placing a drop down on an Access form and populate it with values. You will see that the Access dropdown allows you to type into it and allows multiple characters, not just one

any help would greatly be appreciated. Using a dropdown and text box next to it isn't a very good alternative
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
473,768
Messages
2,569,574
Members
45,048
Latest member
verona

Latest Threads

Top