You are here:
InputArea Control
An InputArea element defines a single line text field that can accept user input. Text areas also have a label that is displayed to the user. The InputArea control can render only one line of text. For multiline text use InputAreaMultiLine UI control instead.
Required Editions
| Available in: Enterprise, Performance, and Unlimited Editions |
The table lists the InputArea element attributes.
| Attribute | Description | Value or Pattern | Required? |
|---|---|---|---|
| name | Identifier of the InputArea element | string | yes |
| disabled | Specifies if the InputArea element is enabled or disabled. | boolean | no |
| editable | Specifies if the InputArea element is editable. | boolean | no |
InputArea Bindings
The Bindings element consists of the Resource and Binding elements. The table lists the targets that are supported for the Resource and Binding elements in the InputArea element.
| Attribute | Description | Type | Binding Source | Required |
|---|---|---|---|---|
| Label | The text to display in the text fields label. | Label | Any label resource available in the project or an arbitrary string. | no, defaults to no label displayed |
| Value | The data bound to the text field | Data | Any label resource available in the project or an arbitrary string. | no, defaults to no text initially visible in the field. |
The InputArea Resource node consists of resource elements that can be used in the InputArea control element. The table list the attributes of the InputArea Items node
| Attribute | Description | Value or Pattern |
|---|---|---|
| target | Defines the path of the InputArea control. | string [Label; Value] |
| type | Defines how the resource is shown. | string [Label; Text] |
| binding | Source of the binding. | string |
| bindingMode | Binding mode is used to control the updating process. | string [ONE_WAY/TWO_WAY/ONE_TIME] |
| toggleId | Refers to the identifier of a domain. | string (domain) |
| defaultLabel | One default value can be set, depending on the type, that is, defaultText, defaultLabel, and defaultImage. | string |
| labelId | The ID that is used for mapping the localized resource and the actual element in the UI. | string |
Sample XML Code
<InputArea name="InputArea" disabled="false" editable="true">
<Bindings>
<Resource target="Label" type="Label" defaultLabel="defaultLabel" id="labelId" />
<Binding target="Value" type="TEXT" format="valueFormat" binding="valueBinding" bindingMode="ONE_WAY" />
</Bindings>
</InputArea>Did this article solve your issue?
Let us know so we can improve!

