cftextarea - simple text area
cftextarea.cfm
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>cftextarea tag: how to use simple text area in coldfusion</title>
</head>
<body>
<h2 style="color:SaddleBrown; font-style:italic">cftextarea example: how to use</h2>
<hr width="350" align="left" color="SaddleBrown" />
<br />
<cfif IsDefined("Form.SubmitAddress")>
<cfoutput>
<h3 style="color:OrangeRed;">
Your Address: #Form.Address#
</h3>
</cfoutput>
</cfif>
<cfform name="TextAreaTest" method="post" format="html">
<table border="1" cellpadding="5" cellspacing="0" bordercolor="Orange">
<tr>
<td colspan="2" bgcolor="DeepPink" style="color:Snow; font-size:large" align="center">
Address Submit Form
</td>
</tr>
<tr valign="top">
<td style="color:RosyBrown; font-weight:bold">
Address
</td>
<td>
<cftextarea
name="Address"
required="yes"
message="Address required."
style="background-color:Wheat; color:RosyBrown; width:250px; height:25px; font-size:large; font-weight:bold; font-style:italic; font:'Comic Sans MS', cursive"
/>
</td>
</tr>
<tr>
<td colspan="2" align="right">
<cfinput
name="SubmitAddress"
type="submit"
value="Submit"
style="height:45px; width:150px; font-size:large; font-style:italic; font-weight:bold; color:OrangeRed;"
>
</td>
</tr>
</table>
</cfform>
</body>
</html>