Click here to get back home

Option Select + input field in one

 HomeNewsGroups | Search | About
 comp.infosystems.www.authoring.html    Post an article   get this group's latest topics as an RSS feed add this group's latest topics to your My MSN content add this group's latest topics to your My Yahoo content
Subject Author Date
Option Select + input field in one do.uris 10-03-2007
Posted by do.uris on October 3, 2007, 8:18 pm
Please log in for more thread options
Hi List,

I wonder if it's possible to have a "input text form field" behaving
like a value list, "select option". I don't want two fields, I want to
have a "select option" with a input field so the user can select a
value or enter one in the same place...

CSS?

TIA,

Dominique


Posted by Harlan Messinger on October 3, 2007, 10:22 pm
Please log in for more thread options
do.uris@gmail.com wrote:
> Hi List,
>
> I wonder if it's possible to have a "input text form field" behaving
> like a value list, "select option". I don't want two fields, I want to
> have a "select option" with a input field so the user can select a
> value or enter one in the same place...
>

It just doesn't exist in HTML.

> CSS?

CSS doesn't allow you to create new controls.

Posted by Rik Wasmus on October 4, 2007, 3:46 am
Please log in for more thread options

> Hi List,
>
> I wonder if it's possible to have a "input text form field" behaving
> like a value list, "select option". I don't want two fields, I want to
> have a "select option" with a input field so the user can select a
> value or enter one in the same place...
>
> CSS?

Also known as a combobox, and non-existant in normal HTML.

There have been several attempts using some javascript and CSS tricks to
mimique the functionality, with various success. Google for 'HTML
combobox', and be very aware your page should continue to work with
javascript disabled, unless it's an intranet page with known UA
configurations.
--
Rik Wasmus

Posted by do.uris on October 4, 2007, 6:22 am
Please log in for more thread options
> > Hi List,
>
> > I wonder if it's possible to have a "input text form field" behaving
> > like a value list, "select option". I don't want two fields, I want to
> > have a "select option" with a input field so the user can select a
> > value or enter one in the same place...
>
> > CSS?
>
> Also known as a combobox, and non-existant in normal HTML.
>
> There have been several attempts using some javascript and CSS tricks to
> mimique the functionality, with various success. Google for 'HTML
> combobox', and be very aware your page should continue to work with
> javascript disabled, unless it's an intranet page with known UA
> configurations.
> --
> Rik Wasmus

Hi Guys, thanks for the quick response. I have check the "HTML combo
script", it is exactly what I want but it's to much code and it did
not work in IE 6 but in Firefox it was perfect.

I know that CSS don't add new control, it just that sometime your able
to fake it...

Thanks Guy!!!

Dominique



Similar ThreadsPosted
Is there a way to set the width of March 8, 2007, 4:00 am
focus on a input field January 11, 2005, 2:18 am
Can an input field have a blank name? September 5, 2005, 8:29 pm
text field besides the input tag May 26, 2008, 1:11 pm
Right align content of field September 27, 2006, 3:43 am
when ? can text input be on the fly select also ? March 28, 2006, 1:48 am
bad position of autocomplete list of input field May 17, 2005, 2:28 pm
Adjusting Input field size (height) September 9, 2006, 1:27 am
error in FireFox with SELECT input January 30, 2005, 3:48 pm
Dynamic width of a text input field in a form November 8, 2005, 6:35 am

Our other projects:

Art Dolls, Fairies and Mermaids - Sunnyfaces.net

Roy's Linux, Programming and Search Engines messages

1-Script XML SitemapXML Sitemap