SunQuest
           HTML Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsWeb DesignHTML Programming

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old July 25th, 2000, 03:21 PM
explore explore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: TX
Posts: 38 explore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to explore
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!


Reply With Quote
  #2  
Old July 25th, 2000, 03:28 PM
snoop logy dogg snoop logy dogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 27 snoop logy dogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
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

Reply With Quote
  #3  
Old July 25th, 2000, 04:32 PM
snoop logy dogg snoop logy dogg is offline
Junior Member
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2000
Posts: 27 snoop logy dogg User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
by the way, (if you're familiar with PHP)... do you know how to process your form using PHP?

Thanks
//ryan

Reply With Quote
  #4  
Old July 27th, 2000, 11:45 AM
explore explore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: TX
Posts: 38 explore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to explore
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.

Reply With Quote
  #5  
Old July 31st, 2000, 03:09 PM
explore explore is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2000
Location: TX
Posts: 38 explore User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
Send a message via AIM to explore
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!

Reply With Quote
  #6  
Old August 1st, 2000, 11:56 AM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
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.

Reply With Quote
  #7  
Old August 2nd, 2000, 12:42 AM
firepages's Avatar
firepages firepages is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Feb 2000
Location: Perth West Australia
Posts: 741 firepages User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 9
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

Reply With Quote
  #8  
Old August 2nd, 2000, 08:40 AM
JonLed JonLed is offline
Contributing User
Dev Shed Novice (500 - 999 posts)
 
Join Date: Aug 2000
Location: Indiana
Posts: 614 JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level)JonLed User rank is Corporal (100 - 500 Reputation Level) 
Time spent in forums: 4 h 49 m 49 sec
Reputation Power: 9
Since he said he was using CGI, my solution works and is the only sure thing.

Reply With Quote
Reply

Viewing: Dev Shed ForumsWeb DesignHTML Programming > Forms


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 6 hosted by Hostway