By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
464,288 Members | 1,139 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 464,288 IT Pros & Developers. It's quick & easy.

Need help grabbing info from asp dropdown list box

P: n/a
Hi all,
I am trying to retrieve data from a dropdown listbox in asp using:
<%Response.Write + Request.Form("cboBox")%>

The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.

Any help would be appreciated!

Thanks!

Jul 19 '05 #1
Share this Question
Share on Google+
2 Replies

P: n/a
Make sure your value is in quotes

<option value="this that">
"Melissa" <mc****@hotmail.com> wrote in message
news:MGjlb.31940$Rd4.23142@fed1read07...
Hi all,
I am trying to retrieve data from a dropdown listbox in asp using:
<%Response.Write + Request.Form("cboBox")%>

The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.

Any help would be appreciated!

Thanks!

Jul 19 '05 #2

P: n/a
Thanks so much for you help. Sometimes it is those simple things that I
don't see.

"Adrian Forbes [ASP MVP]" <so***@noemail.zzz> wrote in message
news:#P*************@TK2MSFTNGP11.phx.gbl...
Make sure your value is in quotes

<option value="this that">
"Melissa" <mc****@hotmail.com> wrote in message
news:MGjlb.31940$Rd4.23142@fed1read07...
Hi all,
I am trying to retrieve data from a dropdown listbox in asp using:
<%Response.Write + Request.Form("cboBox")%>

The problem is that I only retrieve the first value of the option. For
example, if my first option was <option value=this that>, I only can
retrieve "this". It won't get the second word.

Any help would be appreciated!

Thanks!


Jul 19 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.