request stopping at first space

C

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
 
B

Bob Lehmann

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
 
C

Col

So obvious and so hard to see.
Thanks Bob

Bob Lehmann said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

No members online now.

Forum statistics

Threads
474,141
Messages
2,570,818
Members
47,367
Latest member
mahdiharooniir

Latest Threads

Top