If this is your first visit, be sure to check out the FAQ by clicking the link above.
You may have to register before you can post: click the register link above to proceed.
To start viewing messages, select the forum that you want to visit from the selection below.
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.
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.
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.
Quote:
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.