469,328 Members | 1,324 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,328 developers. It's quick & easy.

request stopping at first space

Col
Hi all,

I'm new at asp and there may be an obvious answer but I haven't found it
yet.

I have 3 pages

on page 1 there is a select box, name="UD", containing "Data B"

page1 submits to page 2
on page 2, <% USD=request("UD")%> results in USD = "Data B"
USD displays in a text box as "Data" (the space and B missing)

page 2 submits to page 3
on page 3, <% USD=request("USD")%> results in USR = "Data" (the space and B
missing)

How do I keep the data complete?

Regards
Colin

May 31 '06 #1
2 1041
I'm assuming that what you really have is something llike...
value = <% USD=request("USD")%>

Quote the value attribute, and you should be good to go.
value = "<% USD=request("USD")%>"

Bob Lehmann

"Col" <ne***************@hotmail.com> wrote in message
news:e0*************@TK2MSFTNGP03.phx.gbl...
Hi all,

I'm new at asp and there may be an obvious answer but I haven't found it
yet.

I have 3 pages

on page 1 there is a select box, name="UD", containing "Data B"

page1 submits to page 2
on page 2, <% USD=request("UD")%> results in USD = "Data B"
USD displays in a text box as "Data" (the space and B missing)

page 2 submits to page 3
on page 3, <% USD=request("USD")%> results in USR = "Data" (the space and B missing)

How do I keep the data complete?

Regards
Colin

May 31 '06 #2
Col
So obvious and so hard to see.
Thanks Bob

"Bob Lehmann" <no****@dontbotherme.zzz> wrote in message
news:OO**************@TK2MSFTNGP04.phx.gbl...
I'm assuming that what you really have is something llike...
value = <% USD=request("USD")%>

Quote the value attribute, and you should be good to go.
value = "<% USD=request("USD")%>"

Bob Lehmann

"Col" <ne***************@hotmail.com> wrote in message
news:e0*************@TK2MSFTNGP03.phx.gbl...
Hi all,

I'm new at asp and there may be an obvious answer but I haven't found it
yet.

I have 3 pages

on page 1 there is a select box, name="UD", containing "Data B"

page1 submits to page 2
on page 2, <% USD=request("UD")%> results in USD = "Data B"
USD displays in a text box as "Data" (the space and B missing)

page 2 submits to page 3
on page 3, <% USD=request("USD")%> results in USR = "Data" (the space and

B
missing)

How do I keep the data complete?

Regards
Colin


May 31 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

18 posts views Thread by Chris Travers | last post: by
10 posts views Thread by William L. Bahn | last post: by
1 post views Thread by S. Han | last post: by
6 posts views Thread by Karthik | last post: by
7 posts views Thread by Badass Scotsman | last post: by
4 posts views Thread by =?Utf-8?B?QWRhbQ==?= | last post: by
6 posts views Thread by Meels Lilbok | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
reply views Thread by Purva khokhar | last post: by
reply views Thread by haryvincent176 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.