RW_TEXT_AREA
Example |
Purpose
Creates a text box on a form. The user can type a nearly unlimited number of lines in the text box. When the form is submitted, all of these lines, separated by carriage returns/line feeds, are sent to the server using the name of the text box. Outputs directly to RealWeb's RWC.OUTBUF buffer.
Syntax
RW_TEXT_AREA(Name, Rows, Cols, Value, aClass)
Parameters
Name Name of the text box.
Rows, Cols These two parameters specify the dimensions of the text box.
Value Default text to be loaded into the text box.
aClass A that can contain the following elements:
Element No. |
Attribute |
Description |
---|---|---|
1 |
CLASS |
The name of a tag class defined in a stylesheet. |
2 |
ROWS |
The height of the text box in characters. |
3 |
COLS |
The width of the text box in characters. |
4 |
WRAP |
Defines the type of text wrapping. Can be one of the following: VIRTUAL
PHYSICAL
OFF (default)
|
Attributes defined in the aClass parameter are applied to the TEXTAREA tag.
For information about using aClass, see The aClass Parameter.
Dependencies
Requires a previous call to RW_START_HTML_FORM.