Field Settings for Text Fields
The following field types allow the user to enter text or to view read-only text:
Field Type | Description |
---|---|
Single Text | A field for entering a single line of text. |
Paragraph Text | A field for entering multiple lines of text. |
Display Value | A field for displaying a single line of text. |
Rich Text | A field for displaying multiple lines of text. |
Field Settings
Setting | Description | Example | ||
---|---|---|---|---|
Text Content | Used in the Rich Text field type. This is the text that is displayed to the user. (Rich Text is a read-only field.) Text can be formatted with HTML tags to achieve font, color, graphic, and hyperlink effects. Text Content supports double-bracketed interpolation: | <h2 style="color: rgb(51, 51, 51);">
Congratulations! You have successfully created a work item {{wizardState.$createdWorkItem.id}}
</h2> | ||
Format | Used in the Display Value and Single Text field types. Originally used for currency formatting, this setting is used to convert values based on the original value entered. Here are some basic currency options on the right. For more supported formatting options, see this reference: http://numeraljs.com/#format | Original Value | Format | Result |
1000.234 | ($0,0) | ($1,000) | ||
1000.235 | $0.00 | $1000.23 | ||
1000.2 | 0,0[.]00 $ | 1,000.20 $ | ||
1,000.234 | $0,0.00 | $1,000.23 | ||
1001 | $ 0,0[.]00 | $1,001 | ||
1230974 | ($ 0.00 a) | $ 1.23 m | ||
Max Input Length | Used for the Single Text field type. It defines the maximum number of characters for the string. This validation is triggered when the user tries to navigate to another page. If the user has entered a longer string, the following error message appears next to the field: “Max string length exceeded”. |