Topic: Replacing the enter keystroke with a BR tag.


Webmaster    -- 10-08-2002 @ 10:45 AM
  To go FROM <BR> to ENTER you would do this:

#ReReplaceNoCase(OriginalValue, "<BR>", "#chr(13)##chr(10)#", "ALL")#

To go from ENTER to <BR> you would do this:
#ReReplaceNoCase(OriginalValue, "#chr(13)##chr(10)#", "<BR>" "ALL")#

Let me know if you need further assistance...

Thanks,
Pablo Varando
EasyCFM.COM, LLC.


Webmaster    -- 10-09-2002 @ 8:33 AM
  You're welcome, and thanks for using the site Wink  Remember tell your friends!

Thanks,
Pablo Varando
EasyCFM.COM, LLC.


Tucker    -- 11-01-2002 @ 4:59 AM
  I have only just started using colfusion and got into complete confusion.

I have created a coldfusion form which enter into a database without a problem, how do I replace the <br> tag so that an automatic line break is inserted when the user hits the enter key??

Where does the code fit in the script??


EasyCFM.COM ColdFusion Forums : http://archive.easycfm.com/forums
Topic: http://archive.easycfm.com/forums/viewmessages.cfm?Forum=12&Topic=27