TextAreaTag

A TextAreaTag references a DataField in the context hierarchy and creates an HTML TextArea element containing the field's value.

Mandatory attributes: dataName

Table 1. TextAreaTag attributes
Attribute Description Default value
dataName Name of the DataField in the context hierarchy. If the DataField is read only, in Internet Explorer the text area is also read only.

If a form containing a text area is submitted, the context's element named dataName is set with the text area's value.
 
cols Number of columns in the text area null
rows Number of rows in the text area null
wrap Whether the text area wraps the text soft
error Whether the text area contains an invalid value no
errorStyle Style for invalid text font-style:italic;

color:orangered
style Style for the text area null
custom Adds attributes to the input element. The following is the format of this attribute:

custom="att1Name=\"att1Value\

"att2Name=\"att2Value\"..."
null

The following is an example of using TextAreaTag:

<H1>Using the TextArea Tag</H1>
<dse:form name="f1" nextEventName="ok">
<table border="1">
<tr><td colspan="2">
<dse:textArea dataName="poem1" cols="35" rows="5"/></td><td>
<dse:textArea dataName="poem2" cols="20" rows="5" wrap="hard"/></td></tr>
<tr><td>
<dse:textArea dataName="poem3" cols="20" rows="5" wrap="off"/></td><td>
<dse:textArea dataName="readOnlyPoem" cols="20" rows="5" wrap="off"/></td><td>
<dse:textArea dataName="inErrorField" cols="20" rows="5" error="yes"/>
</td></tr></table>
<dse:button type="submit"/><br>
</dse:form>