Code Comments

Programming Forum and web based access to our favorite programming groups.
For Programmers: Free Programming Magazines | New: Database administration forum
Registration is free! Edit your profileCalendarFind other membersFrequently Asked QuestionsSearch -> 
Post New Thread











Thread
Author

multiple selections from pull-down
I am doing an online quote application using php and mysql
for lookups. In one of the pulldown fields, the customer wants
the user to be able to make more than 1 selection and we will
use each selection with the other field inputs to analyze each
computed quote. I have been able to keep all inputs on a single
screen which is one of the criteria. Is there a way to do this
without a scrollbar just using the pulldown?

Thanks....






Report this thread to moderator Post Follow-up to this message
Old Post
bob engler
04-27-05 08:56 PM


Re: multiple selections from pull-down
bob engler wrote:
> I am doing an online quote application using php and mysql
> for lookups. In one of the pulldown fields, the customer wants
> the user to be able to make more than 1 selection

Using the multiple attribute on a <SELECT> element should allow this.
See http://www.w3.org/TR/html4/interact...ml#edef-SELECT.

> use each selection with the other field inputs to analyze each
> computed quote. I have been able to keep all inputs on a single
> screen which is one of the criteria. Is there a way to do this
> without a scrollbar just using the pulldown?

I'm guessing you mean that you want the pulldown box to be big enough to
show all the items at the same time? The size attribute may do what you
want, but I haven't tried it.

--
Oli

Report this thread to moderator Post Follow-up to this message
Old Post
Oli Filth
04-27-05 08:56 PM


Re: multiple selections from pull-down
I want the size of the box to be just the 1 line with the choices
being displayed below it like it does now with after the selection
is made, the box goes back to 1 line.

Thanks...


"Oli Filth" <catch@olifilth.co.uk> wrote in message
news:FFQbe.2311$_s1.1873@newsfe6-gui.ntli.net...
> bob engler wrote: 
>
> Using the multiple attribute on a <SELECT> element should allow this.
> See http://www.w3.org/TR/html4/interact...ml#edef-SELECT.
> 
>
> I'm guessing you mean that you want the pulldown box to be big enough to
> show all the items at the same time? The size attribute may do what you
> want, but I haven't tried it.
>
> --
> Oli



Report this thread to moderator Post Follow-up to this message
Old Post
bob engler
04-28-05 01:56 AM


Re: multiple selections from pull-down
bob engler wrote:
> I want the size of the box to be just the 1 line with the choices
> being displayed below it like it does now with after the selection
> is made, the box goes back to 1 line.
>

Well, what's wrong with a normal <SELECT> element?


--
Oli

Report this thread to moderator Post Follow-up to this message
Old Post
Oli Filth
04-28-05 01:56 AM


Re: multiple selections from pull-down
"bob engler" <engler@0sand1s-software.com> kirjoitti
viestissä:wyTbe.10006$f6.5307@fe04.lga...
>I want the size of the box to be just the 1 line with the choices
> being displayed below it like it does now with after the selection
> is made, the box goes back to 1 line.
>
> Thanks...


Sadly, if you want multiple selections, one line dropdown is not an option.
It's single select with dropdown or multiple select with multiple rows, and
those are the only two choises you have. It's defined in HTML 4.01 like
that.

--
"I am pro death penalty. That way people learn
their lesson for the next time." -- Britney Spears

eternal.erectionN0@5P4Mgmail.com



Report this thread to moderator Post Follow-up to this message
Old Post
Kimmo Laine
04-28-05 01:56 AM


Re: multiple selections from pull-down
Thanks for the feedback...


"Kimmo Laine" <eternal.erectionN0.5P@Mgmail.com> wrote in message
news:d4p3dn$s9c$1@phys-news1.kolumbus.fi...
> "bob engler" <engler@0sand1s-software.com> kirjoitti
> viestissä:wyTbe.10006$f6.5307@fe04.lga... 
>
>
> Sadly, if you want multiple selections, one line dropdown is not an
option.
> It's single select with dropdown or multiple select with multiple rows,
and
> those are the only two choises you have. It's defined in HTML 4.01 like
> that.
>
> --
> "I am pro death penalty. That way people learn
> their lesson for the next time." -- Britney Spears
>
> eternal.erectionN0@5P4Mgmail.com
>
>



Report this thread to moderator Post Follow-up to this message
Old Post
bob engler
04-28-05 01:56 AM


Sponsored Links




Last Thread Next Thread Next
Search this forum -> 
Post New Thread

PHP Language archive

Show a Printable Version Send to friend Email This Page to Someone! subscribe to this thread Receive updates to this thread
Computer Consultants
Programming Jobs
Visual Basic Controls
SQL Server Programming
Webservices
Java Security
Visual Studio
C# Programming
Visual J++
Software engineering
Open source Software
Perl Programming
PHP Programming
ASP Programming
ASP .NET Programming
Visual Basic Programming
Windows Scripting Host
Java Programming
Java Help
Java Beans
VBScript
Cobol
MAC Applications
Unix Programming
Forum Jump:
All times are GMT. The time now is 07:33 PM.

 
Free MCSE Braindumps | Real Estate Topics

Programming forum archive

Copyrights CodeComments.com 2004 - 2006

Powered by vBulletin Copyright 2000-2006 Jelsoft Enterprises Limited.