Numbered List

Numbered List

Function: a!richTextNumberedList()

Displays a numbered list within a rich text component.

Parameters

Name Keyword Type Description
Items items Text, Styled Text, or List Array of text to display as a numbered list. Text can be further formatted using a!richTextItem(). Nested lists can be created using a!richTextListItem()
Visibility showWhen Boolean Determines whether the component is displayed on the interface. When set to false, the component is hidden and is not evaluated. Default: true.

Notes

  • Specific values within Items can be further formatted using styled text.
  • Numbered lists cannot be nested within styled text.
  • If Items is null or contains an empty array, no list is displayed.
  • If the Items array contains one or more null values, those items in the list have no text displayed.
  • Top-level numbered lists use Arabic numerals (e.g. 1, 2, 3); second-level numbered lists use letters (e.g. a, b, c); third-level numbered lists use lower-case roman numerals (e.g. i, ii, iii). Further nested numbered lists repeat the same pattern starting with Arabic numerals.

Example

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
=a!richTextDisplayField(
  labelPosition: "COLLAPSED",
  value: {
    a!richTextNumberedList(
      items: {
        "A",
        "B",
        "C",
        a!richTextItem(
          text: "D",
          style: "EMPHASIS"
        ),
        "E"
      }
    )
  }
)

Displays the following:

FEEDBACK