PDA

View Full Version : Combo Box HELP!



doodlindoug
05-21-2007, 04:35 PM
Is it possible to have 2 combo boxes on the same page? If so, how is this accomplished? Thanks for any and all help!!!!

Doug

mwinter
05-21-2007, 04:42 PM
Is it possible to have 2 combo boxes on the same page?

Define a combo box. The definition I'm used to is a drop-down list box that can be edited. Those don't exist in HTML, only text inputs and list boxes.



If so, how is this accomplished?

If you meant a list box, then simply use two select elements:



<select name="..." size="1">
<option value="..." selected>Foo 1</option>
<option value="...">Foo 2</option>
<option value="...">Foo 3</option>
</select>

<!-- ... -->

<select name="..." size="1">
<option value="..." selected>Bar 1</option>
<option value="...">Bar 2</option>
<option value="...">Bar 3</option>
</select>

If that isn't what you meant, please post a follow-up and be more specific.

doodlindoug
05-21-2007, 04:50 PM
Hello Mike,

I am a newbie so bear with me...

I placed the script in the header...

I placed one FORM in the body, added content to 3 <DIV> tags and it worked like a charm.

When I place a second FORM neither one of the forms works. What do I need to do to get multiple forms to work?

Here is my testing page... http://www.heliproz.com/default3.asp

Thank again!

Doug

mwinter
05-21-2007, 05:01 PM
I placed the script in the header...

Hang on! What script? If you need help with a specific DD script, this should have been posted on the help board. This thread should be moved there in due course, but for the moment, please read the help request posting guidelines (http://www.dynamicdrive.com/forums/showthread.php?t=6).



When I place a second FORM neither one of the forms works. What do I need to do to get multiple forms to work?

The script may need to be rewritten, but read the linked post first and post a URL to the original script on this site.

doodlindoug
05-21-2007, 05:04 PM
Ok Mike, from now on I will follow the guidlines for posting. Here is the link to the script.

http://www.dynamicdrive.com/dynamicindex17/comboviewer.htm