Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Space added in textarea

Status
Not open for further replies.

evergreean43

Technical User
May 25, 2006
165
US
I have a condition on my form update that checks for differences between my form textarea value and the value in my Access 2000 database.

It works 99% of the time but adds a space in the Form value on long url entries such as this:
Code:
[URL unfurl="true"]http://myserver/long/long/longlonglongurlhere/here_[/URL] page.cfm

The database value shows no space:
Code:
[URL unfurl="true"]http://myserver/long/long/longlonglongurlhere/here_page.cfm[/URL]

I have the form textarea wrap set to "hard" and if I turn that off or set it to "soft" the space addition goes away but I need the "hard" wrap on.

Please advise a way to correct this problem because I have tried the trim function, htmlcodeformat function and many rereplace attempts but none work.
 
If there is no space on the data stored in the databases, then where is the space coming from ?

Regards
--
Russ Michaels
CFDeveloper.co.uk
ColdFusion Developer community and FREE developer hosting

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top