Results 1 to 4 of 4
  1. #1
    Join Date
    Dec 2002
    Posts
    1

    Unanswered: Text area Peoblem

    When I display Texarea on screen I've a strange problem.
    The text area enter the data and add some spaces in the end of the data.
    I dont no why it happend!
    I use TRIM but it doesn't help.

    Any body know what I'm talkin about?

  2. #2
    Join Date
    Feb 2003
    Location
    Los Angeles
    Posts
    18

    Lightbulb

    Please submit your code so I can review it,
    probably some spaces in the code,
    try <Texarea><%=Var%></Texarea>.
    Eddie.

  3. #3
    Join Date
    Jan 2003
    Posts
    23

    yes they are strange

    I have noticed strange happenings when requesting a textarea from the form for example request.form("textArea") will not always return the information correctly so I always make it a habit of adding the .item to the request request.form.item("textArea"). Try converting it to a string before trimming the contents Trim(Cstr(request.form.item("textArea)). One more thing "tabs" are considered valid characters they will show up as "ڤ" when posting data so they will not be trimmed but will show up as " " when viewed after the browser has decoded it.

  4. #4
    Join Date
    Feb 2003
    Posts
    11

    Re: Text area Peoblem

    It is possible that your variable which you are using to fill textarea is having some sort of VBtab or vbcrlf appended to it. Check it carefully.
    Originally posted by Eitan
    When I display Texarea on screen I've a strange problem.
    The text area enter the data and add some spaces in the end of the data.
    I dont no why it happend!
    I use TRIM but it doesn't help.

    Any body know what I'm talkin about?

Posting Permissions

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