Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

Table of Contents

...

Type

Usage

Basic text field

The most common input field, where users can enter text or numeric data.Numeric text field

A text field that can have only a numeric value, e.g., extension number.

Secured text field

Used when text needs to be secured, e.g., password.

...

  • On hover over the text field, the mouse cursor will change to a text cursor.

  • On click:

    • Where no text has been added to the field:

      • a text cursor will appear at the beginning of the text field.

      • the hint text will disappear.

    • Where text already exists in the field:

      • a text cursor will appear in the position where the user clicks.

      • double-clicking a word inside the text field will select that word.

      • triple-clicking the text field will select all of the text.

  • As text is entered it will appear from the left-hand side.

  • Once the cursor reaches the end of the field, it will stop and new characters will be added at that point. The start of the text string will disappear on the left-hand side of the field.

  • If a character limit has been set, reaching the limit will prevent the user from entering any more characters.

  • When the user clicks away and the field becomes inactive:

    • if the text string exceeds the width of the field, the start of the text string will come back into view.

    • if no text has been added the hint text will reappear.

  • In case of a numeric text field (e.g., extension number), users will not be able to enter any character other than numbers.

  • In case of secured text field (e.g., password):

    • When typing, characters are masked.

    • The field can contain a show/hide password button.

    • In case Caps lock or Num lock are on, a corresponding tooltip will appear (see Common Messages Repository).

...

Validations and errors

Please refer to the Field Validation page for more information.

A text field with a warning will have an orange border and a warning icon, as shown below:

...

A text field with an error will have a red border and an error icon, as shown below:

...

Validations and errors

Please refer to the Field Validation page for more information.

A text field with a warning will have an orange border and a warning icon, as shown below:

...

A text field with an error will have a red border and an error icon, as shown below:

...

The orange or red border will be removed when the content is updated and becomes valid.

Additional Inputs

  • In case of a numeric text field (e.g., extension number), users will not be able to enter any character other than numbers.

  • In case of secured text field (e.g., password):

    • When typing, characters are masked.

    • The field can contain a show/hide password button.

    • In case Caps lock or Num lock are on, a corresponding tooltip will appear (see Common Messages Repository).

...

Best practices

Use:

  • where the user needs to enter a short, single-line text in plain text, such as a password, URL, phone number or email address.

...

...