LinkedIn
Copied!

Table of Contents

Adding text to controls

Version:

Only available versions of this content are shown in the dropdown
Applicable to Theme Cosmos applications

Ensure that users fill in the forms in an application correctly by supplying brief instructions. By using labels, helper text, and placeholders, you define what kind of input goes into each control, which reduces time required to fill in the form.

For example, a helper text might clarify differences in available options depending on the context:

Sample helper text
An example of a helper text that gives context to the options in the drop-down
                    list

Text prompts are also important for accessibility, because they provide users who rely on assistive technologies with screen-reader-friendly guidance.

  1. Open the view that you want to edit.

    For more information, see Accessing views in your application.
  2. In the configuration pane on the right side of the window, hover over the control, and then click the Edit icon.

  3. On the General tab, define the label for the control:

    • To keep the name of the property from which the control is sourced as the label, select the Use property default check box.
    • To use a custom label, clear the Use property default check box, and then enter a new label.
  4. In the Placeholder list, specify the text that appears in the control when it has no value assigned:

    • To keep the placeholder space empty, select None.
    • To add placeholder text, select Other, and then select the text that you want to use.
    • To add a placeholder that represents the format of the date used in a Date Time control, select Expected Format.
  5. In the Helper text list, specify the additional text that appears in the control:

    • To keep the helper text space empty, select None.
    • To add inline helper text, select Always visible/in-line, and then define the helper text value.
    • To add a help icon that displays text on hover, select Help icon with overlay on hover, and then enter the helper text.
    • To add a tooltip, select Tooltip (not recommended), and then define the helper text value.
    Because tooltips are visible only on hover, they are not suitable for users who rely on accessibility features.
  6. Click Apply.

Discover more about how accessibility is part of application architecture in the following article:
Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.