• Welcome to Overclockers Forums! Join us to reply in threads, receive reduced ads, and to customize your site experience!

ASP question

Overclockers is supported by our readers. When you click a link to make a purchase, we may earn a commission. Learn More.

Tw00sh

Member
Joined
Dec 24, 2001
Location
Austin, TX
I am trying to make a basic form and then use an ASP file to validate and display what the form fields have.

I have created a TEXT box, similiar to the one you use on this forum to input a question.

What I cannot figure out is how to make a line break in the text output from the asp file. This is what I have so far:

-<%
text=request.form("text")
response.write(text)
%>-

"text" is my field name on my form. It is a text field and I have it set to 10 lines and 2000 characters.

If I type this in the text box:

test
test
test
test
test

I get :

test test test test test test

From the ASP ouput. What code do I need to make the ASP file line break and show:

test
test
test
test
test

??
 
Back