Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

TextField

Lateef Ojulari edited this page Dec 19, 2019 · 3 revisions

The TextField widget is a text input control that allows a user to enter characters from the keyboard. A user can enter any text composed of alphabets, numbers or special characters as there is no restriction on the type of characters acceptable by the control. Generally, the TextField control is used for capturing short text because it’s viewing area is restricted to a single line.

This component binds to a String object.

TextField

Listing 1: TextField UPL

!ui-text:frmBookTitle
    caption:$s{Title} binding:bookTitle
    size:32 minLen:1 maxLen:40

Attributes

Name Required Type Description
size false Integer Specifies the visible number of character columns that the text field should have.
minLen false Integer Specifies the minimum number of characters for control. The length of input text is checked during page validation only.
maxLen false Integer Specifies the maximum number of characters this control can accept. This attribute restricts the maximum number of characters input by the user. It is also checked during page validation.
case false String Specifies if all input characters should be set to upper case or lower case characters. It can be set to either UPPER or LOWER.
required false Boolean Indicates if an input value for this control is required. It is taken into consideration during form validation. Defaults to 'false'.

Clone this wiki locally

Morty Proxy This is a proxified and sanitized view of the page, visit original site.