[KCFusion] How to preserve lt; and gt; strings... (was: Text box value)

2002-01-28 Thread Ron Hornbaker
Use the htmlEditFormat() function around the value. Value=#htmlEditFormat( someValue )# This will replace the double quotes with quot;, as needed. Speaking of htmlEditFormat, here's a question for you. Say you've got a textarea where users can enter a combination of text and html. A

RE: [KCFusion] How to preserve lt; and gt; strings... (was: Text box value)

2002-01-28 Thread Ron Hornbaker
Daryl, Well slap my a** and call me Sally. I'm actually doing this with ASP at the moment, and since it doesn't (to my knowledge) have a fn comparable to htmlEditFormat, I didn't actually try it with CF first. My apologies to the group. :) BTW, the ASP fix is like so: Replace(objRS(body),,amp;)

RE: [KCFusion] How to preserve lt; and gt; strings... (was: Text box value)

2002-01-28 Thread Ron Hornbaker
htmlEditFormat() fn is a little too //several// for my purpose, severe sorry, ron __ The KCFusion.org list and website is hosted by Humankind Systems, Inc. List Archives

Re: [KCFusion] How to preserve lt; and gt; strings... (was: Text box value)

2002-01-28 Thread Daryl Banttari
Not to be too picky about things, but (imho) there is no such thing as a 'legitimate' angle bracket in an input's Value attribute. According to the HTML spec, angle brackets, quotes, and ampersands in html tag attibutes 'should be' replaced with their entity references (granted, the angle