Description
The Text Data macro allows editing of free text data.
Parameters
Name | Required | Migratable to Cloud? | Default Value | Description |
---|---|---|---|---|
Field Name | Yes | No | The name of the text data field. |
| |||
Type | Optional | No |
|
|
| The type of field.
May be one of the following:
|
|
|
|
| |||
Content Type | Optional | No |
|
|
| The type of content in the field. May be one of the following:
|
| |||
Required | Optional | No | false |
If |
the field cannot be empty. | ||||
Language | Optional | No | The programming language to use for formatting the content Java or XML. |
|
|
|
Hide Full Text | Optional | No | false | Clip text and display a "Show more" button if the text is more than one line. |
|
Minimum Length | Optional | No | If specified, the text must be at least this many characters long. | |
Maximum Length | Optional | No | If specified, the text must be at most this many characters long. | |
Pattern | Optional | No | Specify the text that the content in the Text Data macro must match. You may use regular expressions with this parameter. |
|
|
Pattern Error Message | Optional | No | If the Pattern parameter is specified, this is displayed if the saved value does not match when the user |
chooses Save. |
Width | Optional | No | The width of the text field. Set as either
|
|
| ||||
Height | Optional | No | The height of the text field. Set as either
|
|
|
Editor View
...
Notes
Warningnote |
---|
Links to other pages inside a Text Data may break when the linked page is moved to another space and attempting to click the broken link (pictured below) will instead prompt the user to create a new page. |
Tutorial Examples
Filter by label (Content by label) | ||||||||
---|---|---|---|---|---|---|---|---|
|