External Interfaces > RealWeb > RealWeb API > Forms > Form Elements > RWA_TEXT_AREA

Comment on this topic

Documentation Comments

Use this form to comment on this topic. You can also provide any general observations about the Online Documentation, or request that additional information be added in a future release.

RealityV15.1Online Documentation (MoTW) Revision 7

RWA_TEXT_AREA (RealWeb) (rwa_text_area.htm)

To

Reality

Version

Topic

Submitted by

Company

Location

Email address

Comment

 

 

RWA_TEXT_AREA


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. Appends the generated code to a string.

Syntax

RWA_TEXT_AREA(vString, Name, Rows, Cols, Value, aClass)

Parameters

vString A variable containing the string to which the generated code is appended. On return, the variable contains the modified string. If the string does not exist, it is created.

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 dynamic arrayClosed that can contain the following elements:

Element No. Attribute Description
1 CLASS The name of a tag class defined in a CSSClosed 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
The text is wrapped within the text area for presentation to the user, but is transmitted to the server as if no wrapping had occurred, except where the user pressed the ENTER key.

PHYSICAL
The text is wrapped within the text area and transmitted to the server as if the user had actually typed it that way.

OFF (default)
The text does not wrap except where the user pressed the ENTER key.

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.

RealityV15.1 (MoTW) Revision 7Comment on this topic