Try:
<cfset Form.Field = ReReplace(Form.Field, "<[^>]*>", "", "All")>
HTH
DIck
At 9:15 PM +0000 8/4/01, John Barleycorn wrote:
>Hello, I have form that has a text field in it. if the user types in any
>html code or other code for that matter, i want to be able to remove it. i
>looked for a tag in the tag gallery, but i didn't find one. is there a built
>in fuction that isn't in the book that i can use? thanks for the help.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at
http://www.fusionauthority.com/bkinfo.cfm
FAQ: http://www.thenetprofits.co.uk/coldfusion/faq
Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists