ASP Programming
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsProgramming Languages - MoreASP 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 September 12th, 2003, 08:23 AM
munna munna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 30 munna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
problem selecting an option

Hi,
I have got a form with a set of options like this:

<select name="Target">
<option value="a@somewhere.com"> A.Name</option>
<option value="b@somewhere.com"> B.Name</option>
<option value="c@somewhere.com"> C.Name</option>
<option value="d@somewhere.com"> D.Name</option>
</select>

I'm using this at the moment to get the vlaue:
Email = Request.form("Target")

However, I would like to have another variable ("Name") which could store the actual name, rather than the e-mail address. So, while "Email" could store "a@somewhere.com", "Name" would store "A.Name".

Please could someone tell me how to do this?
--Munna

Reply With Quote
  #2  
Old September 12th, 2003, 08:57 AM
Vlince Vlince is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jun 2003
Location: Canada, Quebec, Montreal
Posts: 410 Vlince User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Here read the fifth post by me

http://forums.devshed.com/t76638/s.html

Hope this helps!
Sincerely

Vlince

Reply With Quote
  #3  
Old September 16th, 2003, 03:49 AM
munna munna is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Jul 2003
Posts: 30 munna User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 6
Thumbs up

that's great, thanks!

Reply With Quote
Reply

Viewing: Dev Shed ForumsProgramming Languages - MoreASP Programming > problem selecting an option


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 3 hosted by Hostway