Results 1 to 4 of 4

Thread: Formating

  1. #1
    Big Al Guest

    Default Formating

    I have a large text area, which users input information. is there anyway to keep the formating that they enter. e.g charage returns and titles etc....

  2. #2
    Rob Guest

    Default RE: Formating

    replace(request.form("myTextarea"),chr(13),"<BR>") <BR><BR>This will put the carriage returns in it

  3. #3
    Big Al Guest

    Default dosn't work

    I get this error<BR><BR>Microsoft VBScript compilation error &#039 800a0414&#039 <BR><BR>Cannot use parentheses when calling a Sub <BR><BR>/bupa_press/data.asp, line 33 <BR><BR>replace(request.form("user_body"),chr(13), "")<BR>---------------------------------------------^<BR>

  4. #4
    Eddie Campbell Guest

    Default RE: dosn't work

    Try like this<BR>MyVar = replace(request.form("user_body"),chr(13),"")<BR>

Posting Permissions

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