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.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ASP > Text area Peoblem

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 02-04-03, 10:17
Eitan Eitan is offline
Registered User
 
Join Date: Dec 2002
Posts: 1
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?
Reply With Quote
  #2 (permalink)  
Old 02-04-03, 12:24
ZeligOn ZeligOn is offline
Registered User
 
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.
Reply With Quote
  #3 (permalink)  
Old 02-04-03, 13:05
pjames pjames is offline
Registered User
 
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.
Reply With Quote
  #4 (permalink)  
Old 02-10-03, 06:02
vineetall vineetall is offline
Registered User
 
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.
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.

Any body know what I'm talkin about?
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On