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 TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

User Update page - eleminating trailing blank space 1

Status
Not open for further replies.

ScottNeth

Technical User
Mar 11, 2002
44
US
Odd problem - I have an update page that won't work correctly because there's trailing spaces in the forms - if a user tried to enter in for instance, another name, they can do it, but have to delete a whole bunch of spaces (most of my users aren't smart enough to know this and will say they can't edit their order). <cfsurpress whitespace> won't work because some of the info actually has white space. Any ideas? Scott Neth
Web Designer/Cyberpunk
 
try url encode? &quot;Damn the torpedoes, full speed ahead!&quot;

-Adm. James Farragut

Stuart
 
[tt]Ah, the old cold fusion. right?

I thought <%trim(RS(&quot;field&quot;)%> did the job
[tt]&quot;A Successful man is one who can build
a firm foundation with the bricks
that others throw at him&quot;
[/tt]

star.gif
star.gif
star.gif
star.gif

 
oops my bad, I misread the question.

Tony's correct &quot;Damn the torpedoes, full speed ahead!&quot;

-Adm. James Farragut

Stuart
 
ROCK! Works just like I need it to now - I new it had to be something simple like that - incidentally - for anyone else reading this thread - in the data binding panel under format - choose trim and both (or right if it's only the right side - this one needed both) and it inserts the piece of code. Scott Neth
Web Designer/Cyberpunk
 
[tt]Duh!
Had I remembered I was responding to a thread in the DW forum, I could've told you that.

I need a brain transplant.
[tt]&quot;A Successful man is one who can build
a firm foundation with the bricks
that others throw at him&quot;
[/tt]

star.gif
star.gif
star.gif
star.gif

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top