I am trying to allow for users to create <br> when they hit the enter key while typing in a Textarea.
I tried the following:
<cfset post=paragraphformat(post)>
This returned an Cold fusion Error on post=paragraphformat(post)
<cfset post=relacelist(post,"#chr(13)#, <, >, #chr(34)#, #chr(39)#, #chr(35)#, #chr(38)#, #chr(47)#", , "<br>, <, >, ", ´, #, &, /", "all">
This returned multiple errors.
Does anyone know what the problem is with these?
Thanks
I tried the following:
<cfset post=paragraphformat(post)>
This returned an Cold fusion Error on post=paragraphformat(post)
<cfset post=relacelist(post,"#chr(13)#, <, >, #chr(34)#, #chr(39)#, #chr(35)#, #chr(38)#, #chr(47)#", , "<br>, <, >, ", ´, #, &, /", "all">
This returned multiple errors.
Does anyone know what the problem is with these?
Thanks