Text Data

Description

The Text Data macro allows editing of free text data.

Parameters

Name

Required

Migratable to Cloud?

Default Value

Description

Name

Required

Migratable to Cloud?

Default Value

Description

Field Name

 Yes

No



The name of the text data field.

The name must be unique.

Type

 Optional

No

  • area

    • if macro is created with Rich Text Editor

  • line

    • if macro is created with wiki markup

The type of field.

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

Only applicable for forms mode.

Content Type

 Optional

No

  • richtext

    • if macro is created with Rich Text Editor

  • wiki

    • 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

Required

 Optional

No

false

If true the field cannot be empty. 

Language

 Optional

No



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

  • 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. v5.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.

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%")

Height

 Optional

No



The height of the text field.

Set as either

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

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

Editor View

Notes

Tutorial Examples