|
|
|||||||||
|
|||||||||
| |||||||||
|
|
|
| |||||||||
![]() |
|
|
«
Previous Thread
|
Next Thread
»
|
Thread Tools | Search this Thread | Rate Thread | Display Modes |
|
#1
|
|||
|
|||
|
I have a quick question. I have a form and I am using <select name="forms" multiple=3>
<option value ="form1">FORM 1 <option value ="form2">FORM 2 <option value ="form3">FORM 3 </select> Why isn't it working? When I select 2 items it displays only 1 item. Help! Thanks! |
|
#2
|
|||
|
|||
|
Hi explore:
I had the same question as you, and here's what I found: http://hotwired.lycos.com/webmonkey...ple_select.html Hope it helps, //ryan |
|
#3
|
|||
|
|||
|
by the way, (if you're familiar with PHP)... do you know how to process your form using PHP?
Thanks //ryan |
|
#4
|
|||
|
|||
|
Thanks for the website referral. I don't use PHP to process my forms..I use perl...sorry. Go to the PHP forum..there's alot of help in that room.
|
|
#5
|
|||
|
|||
|
Does someone have another website referrel for this problem I am having with multiple select. The one listed here doesn't appear to be working for me.
Thanks! |
|
#6
|
|||
|
|||
|
When you use multiple selects it send it like this:
"forms=form1&forms=form3" ect... so you'll need to push an array with each one of the "forms" that come into the script. Then you can just use a foreach with the array to get the info back out of it. |
|
#7
|
||||
|
||||
|
Try
<select name="forms[]" multiple=3> then test for $forms[1] $forms[2] etc (in PHP). the webmonkey page should be fine for javascript solution. ------------------ Simon Wheeler FirePages -DHTML/PHP/MySQL |
|
#8
|
|||
|
|||
|
Since he said he was using CGI, my solution works and is the only sure thing.
|
![]() |
| Viewing: Dev Shed Forums > Web Design > HTML Programming > Forms |
| Thread Tools | Search this Thread |
| Display Modes | Rate This Thread |
|
|
|
|