I am not 100% familiar with the FCK editor (we use the Xstandard editor
here... www.xstandard.com)... But my guess would be that in Javascript, you
can strip out the tags after you grab the value from the form field that FCK
editor saves to... Someone else here can talk about how that happens, but
Before you commit the form field input, scrub it like this, which assumes your
edit field is form.richText
cfset form.richText = REReplaceNoCase(form.richText,
(SCRIPT[^]*)(.*(/SCRIPT[^]*))?, , ALL)
Then do what you will with form.richText (i.e. save it in a db table).
[EMAIL PROTECTED]
2 matches
Mail list logo