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 Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

text box data adds html tags -help

Status
Not open for further replies.

Injun

IS-IT--Management
Dec 17, 2002
30
US
My code :
***code***
Dim vComment : vComment =request("hComment")
response.write "vIssue=" & vComment

<INPUT style="WIDTH: 547px; HEIGHT: 108px" name=S1 value ="<%=vComment%>"></INPUT >

*** end code***

Now, the INPUT textbox data looks like this

<i>ABCPerson, Sep 1 2006 8:30AM</i>]<br>Approved<br><br>[<i>Michael John Aug 25, 2006 - 4:09 PM</i>]<br>TEST for TONY

I want it to look like the real data in the variable vComment which is below :

ABCPerson, Sep 1 2006 8:30AM
Approved
Michael John(Aug 25, 2006 - 4:09 PM
TEST for TONY

 
I think what you probably want is a Textarea, not an Inputbox

So like this:

Code:
<textarea rows="8" cols="63" name="S1">ABCPerson, Sep 1 2006 8:30am
Approved
Michael John
Test for TONY</textarea>

Start each value on a new line to get them spaced that way or do some formating
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top