Text

The Text component is an input field where your users can enter a single line of plain text. This field is intended to capture short text elements, such as the name of a person. You can restrict this component to only accept certain values.

Use the Multiline text component to capture longer text elements.

Attributes: General

Attribute Description
ID The unique ID of the component.
Label The label of the component.
Label tooltip Used to provide additional help or information to the user. When it is defined, a question mark icon appears in the component label. The text displays when the user hovers their pointer over the icon.

The tooltip supports plain text only.

Value The binding for the component. Use an expression to bind the component to its value and specify where the value is saved. For example, use {{myVariableName}} to store the value of the component in a variable named myVariableName. Use prefixes to define the scope of the value, for example, root. for referencing the root case to store the value in or parent. to store the value in the parent work item of the current one. For example, {{root.foo}} stores the value in the root case using a variable named foo.
Default Value If a Value is not set, such as on Initialization forms, then this value will be used.
Description Adds a description to the component.
Ignored Determines if the component should be hidden and the value excluded from any payload.
Visible Determines whether the component is visible or hidden. You can also use this expression to only show or hide the component based on another component. For example, if this component is bound to a checkbox component, you can use this expression to show or hide this component based on the checkbox selection made by the user. This is enabled by default.
Enabled Determines whether the component is enabled or disabled. This is enabled by default.

Attributes: Validation

Attribute Description
Required Used to determine if the user must enter a value for this component.
Custom validations List of additional validations you can apply.
Minimum length Determines the minimum number of characters required for this component.
Maximum length Determines the maximum number of characters required for this component.
Validation regex Specifies the validation pattern with a regular expression to match against the entered value in order to be considered valid.

Attributes: Error messages

Attribute Description
Minimum length Determines the error message that displays if the minimum length defined for the component has not been reached.
Maximum length Determines the error message that displays if the maximum length defined for the component has been exceeded.
Validation regex Determines the error message that displays if the value entered does not match the regular expression validation pattern.

Attributes: Documentation

Attribute Description
Documentation Allows you to explain concepts of the component's use for future reference.