944,047 Members | Top Members by Rank

Ad:
  • ASP Discussion Thread
  • Unsolved
  • Views: 3186
  • ASP RSS
Dec 28th, 2006
0

Getting Multiple Values From A Select

Expand Post »
I have a Select in a form, which has multiple values. How can I get all the values from the Request Form collection ? I am using the post method. When I am specifying

ASP Syntax (Toggle Plain Text)
  1. Response.write Request.Form("Select1")

it only shows the last value.

I have tried using Request.Form("Select1").options[x] as a loop but it gives an error saying
Object doesn't support this property or method 'options'

Thanks
Similar Threads
Reputation Points: 20
Solved Threads: 10
Junior Poster
aparnesh is offline Offline
193 posts
since Jul 2005
Dec 28th, 2006
0

Re: Getting Multiple Values From A Select

Reputation Points: 13
Solved Threads: 4
Junior Poster in Training
nikkiH is offline Offline
79 posts
since Dec 2006
Dec 29th, 2006
0

Re: Getting Multiple Values From A Select

Thanks nikkiH, I tried it out and it works fine. Thanks again

aparnesh
Reputation Points: 20
Solved Threads: 10
Junior Poster
aparnesh is offline Offline
193 posts
since Jul 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in ASP Forum Timeline: Relative Link
Next Thread in ASP Forum Timeline: Problem with XIRR calculation with ASP and EXCEL





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC