You are here: User interface > User interface rules > Harness, Section, and Flow Action forms > Harness, Section, and Flow Action forms - Adding a V5 Text Area control

About the Version 5 Text Area control

The Version 5 Text Area control (TextArea) is not auto-generated. Pega 7 Platform uses the auto-generated pxTextArea control. See Harness and Section forms — Adding a Text Area control.

Cell properties panel — Top fields

Click (Magnifying glass) to open the Cell Properties panel. Complete the top fields that appear.

If the panel is pinned (Pinned), the wireframe presentation on the rule form changes immediately to reflect of your inputs. If the panel is not pinned (not pinned), click Apply to apply your inputs.

Field

Description

magnifying glass

(Appears only when this field is in a section included within the current open rule.) Click to open the section that immediately contains the field.

Property

Select or type a property reference that identifies a single text value.

Alternatively, you can drag a property name from the lists of properties visible in the Application Explorer. Typically, this works for Single Value properties belonging to in the Applies to class of the current rule (or a higher class). If the container in which this field sits has a non-blank Using Page value, you can drag a Single Value property from within that embedded page property.

(magnifying glass) to review the property (if the reference is to an existing property in the Applies To class of this rule or a parent of that class). If the property is not found, the New dialog box for the property form appears.

You can reference properties on any page identified on the Pages & Classes tab, using the normal notation pagename.propertyname for pages other than the page corresponding to the Applies To class of the rule.

If this field is in a cell of a section that includes parameter declarations on the Parameters tab, you can enter the notation param.NAME here, to use a parameter value for the field, where NAME identifies a string parameter. Make sure that the NAME parameter is declared on the Parameters tab, and that your application provides a non-blank value for the parameter value in all possible situations where the section appears. See Sections — Completing the Parameter tab.

Control

Autocomplete To present the field as a multiline textarea, use the standard control TextArea. Click (magnifying glass) to supply parameters for this rule:

Parameter

Description

Rows Enter a positive integer to control the number of lines in the textarea.
Columns Enter a positive integer to control the width of each line in characters.
ExpandOptions Select:
  • ExpandedWithIcon   — The text area is initially presented in expanded mode at a size determined by the Rows and Columns parameters. The user clicks the Collapse control (Collapsed) to collapse the text area.
  • CollapsedWithIcon — The text area is initially presented in display-only mode, with only a few characters visible. The user clicks the Expand control (Collapsed) to expand the area.
  • AutoExpanding — Expands to match the value.
  • NoScrollBar — Expanded, no scrollbar.
ReadOnlySmartInfo Optional. Identify the Purpose key part of a section to present as a SmartInfo pop-up for this control when the field is read-only.
ReadWriteSmartInfo Optional. Optional. Identify Purpose key part of a section to present as a SmartInfo pop-up for this control when the field is read-only.
Width Enter a positive integer to control the width of the control in pixels.
Behavior

Optional. Leave blank if no dynamic form actions to other parts of the form are to occur based on user updates or values for this field.

To establish a dynamic form action, click the magnifying glass icon (Magnifying glass) to open the Client Event Editor in a new dialog window. Complete the Client Event Editor to select an event (OnBlur, OnChange, or OnClick) and the resulting form action.

Click the help icon ( Help) on the Client Event Editor for assistance. For general information on this capability, see Harness and Section forms — Client Event Editor.

Client event support is not available for harnesses, sections, or flow actions that use directives.

Cell properties panel — General tab

Complete the General tab.

The General tab for a TextArea is identical to the General tab for a Text Input control. See About the Text Input control — General tab.

Cell properties panel — Advanced tab

Complete the Advanced tab.

The Advanced tab for a TextArea is identical to the Advanced tab for a Text Input control. See About the Text Input control — Advanced tab.

About Sections