Text Area's

Results 1 to 2 of 2

Thread: Text Area's

  1. #1
    Join Date
    Dec 1969

    Default Text Area's

    Hi,<BR><BR>When someone types some text into a text area inside a form, this text would typically be paragraphed.<BR><BR>If when the form is submitted the text area&#039;s contents is saved into a database, how could it be possible for ASP to automatically add the correct formatting tags, i.e. &#060;p&#062;&#039;s so that when the text area is later displayed on a page the text is paragraphed correctly the same way the user originally typed it and not in one large block that tends to happen.<BR><BR>Any help would be greatly appreciated.<BR><BR>Jarvis

  2. #2
    Join Date
    Dec 1969

    Default Don't do it...

    Before you put it into the database, but after you have pulled it out and are about to display it.<BR><BR>Then...Use something like this.<BR><BR>TextBlock = Replace(TextBlock, vbCrLf, "&LT;br&#062;")

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts