Inspiring
April 2, 2022
Question
Coldfusion 21. Output cftextarea value of a formated text within a variable
- April 2, 2022
- 1 reply
- 120 views
Uff! Another problem with cftexarea in Coldfusion 21, The following code: <cfparam name="comment" default="<h3 style=""text-align:center; color:red"">Is it normal?</h1>"> <!DOCTYPE HTML> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2"> <title>Untitled Document</title> </head> <body> <cfform method="post" name="myForm" id="myForm" preservedata="yes"> <cftextarea name="raspuns" cols="90" rows="8" class="style16" id="raspuns" value="#comment#" richtext="true" toolbar="Basic" html="yes"></cftextarea> </cfform> </body> </html> The output in Coldfusion 10 is like in picture 1, and in Coldfusion 21, like in picture 2. The output should be as in Figure 1: red and middle!
Thank you for help!
