>1. Can you make a list box behave this way? I'm sure I've seen web sites
>with list boxes that
> also allow you to type characters into the box. They could I use an
>event to test for a new
> value or something.
What you want is a combo box which is not a standard HTML element. You can do
this with a combination of a SELECT list box and a text input box. I have also
use DHTML to create a pop-up menu attached to a list box.
>2. Another option I guess is to use a normal text field and when they enter
>something I can
> check to see if it exists and complete the field for them.
You can't do this with CF - this is client-side and you would need to use
Javascript. Unless you had a very small number of values this would not be
practical to do because you would have to load all the possible values into a
massive javascript array and check them on each keypress - better not to bother.
You would probably crash the browser if you had a big enough list of values.
Welcome to the web's stateless environment - very few data retrieval operations
can be performed in browsers on the fly - almost all Web DB stuff is necessarily
a multiple-screen, request-response paradigm.
--------
Rob Keniger
------------------------------------------------------------------------------
Archives: http://www.mail-archive.com/[email protected]/
To Unsubscribe visit
http://www.houseoffusion.com/index.cfm?sidebar=lists&body=lists/cf_talk or send a
message to [EMAIL PROTECTED] with 'unsubscribe' in the body.