textarea problem

Results 1 to 2 of 2

Thread: textarea problem

  1. #1
    sunny Guest

    Default textarea problem

    I have created a form where user can enter any content in a textarea field. after submitting this form i am writing this content in a file, but i am failed to do the formatting that content like where any paragraph is starting or ending or whether user entering any bullet or any numbering. I need this solution asap. I will highly appreciate if anybody can give reply with right solution.<BR>thanks.

  2. #2
    Join Date
    Dec 1969

    Default RE: textarea problem

    In regards to the paragraph formatting, if you use the replace function as below<BR><BR>strTEXT = request.form("TEXTAREANAME")<BR>strTEXT = Replace(strTEXT, vbCrLF, "<BR>")<BR>response.write (strTEXT)<BR><BR>basically this replaces all Return Presses with "<BR>"<BR><BR>this has to be done when the form is either being processed or when the data is being viewed...<BR><BR>hope this helps<BR><BR>David M

Posting Permissions

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