Static text

Prev Next

Static Text is a field that allows you to embed text into your forms. Unlike the Text and Long Text fields, it does notcontain a text box for user input. Static Text is a way for you to provide instructions or information regarding the surrounding fields.

Configuration

Setting

Description

Field Label

The label displayed for the field. This is usually displayed at the top left corner above the field.

Field Key

A Key used to reference the field in submission data. The key is also used to reference the field in rules and calculations.

Default Value

The text to display for the field value.

Rule

A JavaScript rule snippet that allows you to perform actions on fields or sections within the form. The actions can include hide, show, enable, disable, showSection and hideSection. Rules are executed on field value changes and when the form is opened.

ex.

if ($field1$ > 23) { hide(); } else { show(); }

(See the Introduction to Rules article for more information.)

Hide Field Label

Hides the Field Name label.

Enabled

If not set the field will be visible but cannot be edited or set to accept new input.

Hidden

If enabled the field and all labels are not visible.

Exclude From Reports

If checked, the field will be excluded from HTML and PDF reports and will also be excluded from Excel and CSV exports.

Exclude On Sync

If enabled the value of the field will not be submitted in the form submission.

Alert Type

Choose a theme to change the background and font colors of the field cell as displayed in the apps.

Result Data

Data Type

Domain of Values

Example JSON

String

N/A

{ "statictext_1": "static text" }