Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

<select> tag and blank spaces

Status
Not open for further replies.

Guest_imported

New member
Jan 1, 1970
0
I have a <SELECT size=10 id=Choices name=Choices multiple> list enclosed in a form.
Some of my options are 3 words, but only the first word shows up when I do my Request.Form(&quot;Choices&quot;).
For example, say my <option> is &quot;Choice number one&quot;, after the submit, I only get &quot;Choice&quot;.

How can I have blank spaces in my selection?

Thank you for your time,

Olivier
 
well, you could have a different value and text...consider using 1 instead of choice number one jared@aauser.com
 
another way would be to make spaces in the values be !!! instead, then convert them to spaces on your asp page jared@aauser.com
 
Thank you!

I get my options from a database, and my items are identified by a unique number, so I will just use that as the value to validate the choices.

thanks again,

Olivier
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top