Versions Compared

Key

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

Overview

The text data micro allows dynamic addition or deletion of rows in a table.

Info

Any standard data macros (other than the Table Data macro itself) can be used inside its cells.

On this page:

Table of Contents
minLevel1
maxLevel6
outlinefalse
styledisc
typelist
printabletrue

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

Field Name

 Yes

No


The name of the text data field.

Info

The name must be unique.

Type

 Optional

No

  • area

    • if If the macro is created with Rich Text Editor.

  • line

    • if If the macro is created with wiki markup.

The type of field.

Info

Applies to plain text content only.

May be one of the following:

  • area

    • a multi-line text area field

  • line

    • a single-line text area field

  • password

    • a single-line password field

Info

Only applicable for forms mode.

Content Type

 Optional

No

  • richtextrich text

    • if If macro is created with Rich Text Editor.

  • wiki

    • if If macro is created with wiki markup.

The type of content in the field.

May be one of the following:

  • richtext

  • text

  • noformat

  • quote

  • code

  • wiki

Info

To input a field within text-data of richtext rich text or quote type, click on the field to initiate a richtext rich text editor. Only This is only applicable for to forms mode.

Required

 Optional

No

false

If true the field cannot be empty. 

Language

 Optional

No


The programming language to use for formatting the content is Java or XML.

Info

This is only used when the Content-Type is set to code. For example

  • "content=code:JavaScript"

  • any language that is valid for the {code} macro can be used

Hide Full Text

 Optional

No

false

Clip text and display a "Show more" button if the text is more than one line. 

Status
colourBlue
titlev5.2.0 and above only

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.

Info

Consult this Knowledge Base article on the use of regular expressions with Scaffolding.

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

  • pixels (e.g. "250px")

  • percentage (e.g."100%")

Info

Only applicable for forms mode.

Height

 Optional

No


The height of the text field.

Set as either

  • pixels (e.g. "250px")

  • percentage (e.g."100%")

Info

Only applicable for forms mode.

Editor View

Notes

Note

Links to other pages inside a Text Data may break when the linked page is moved to another space, and clicking . Clicking the broken link (pictured below) will instead prompt the user to create a new page.

Page linkImage Modified

Tutorial Examples

Filter by label (Content by label)
showLabelsfalse
showSpacefalse
cqllabel = "text-data" and space = currentSpace ( )
labelstext-data