Static Text Field

Static Text Field

Static text is simply text that is placed on the panel without direct connection to any of the input elements. It is laid out to use the entire layout width available on the panel and is broken into multiple lines if necessary. To specify static text create a <field> tag and use the type attribute with a value of staticText. In addition to the txt and id attributes, the text can be justified left, center or right with the align attribute. It is not possible to format this text in any way. You can also use variables in the text (as it was mentioned above), they will be substituted with variable's value.

Name

Required

Description

Value

Name

Required

Description

Value

align

no

Aligns the text within the panel.

left, center, right default: left

Example

The following example inserts some static text in the panel.

<field type="staticText" align="left" txt="This is just some simple static text with variable substitution in here: $myvariable." id="staticText.text"/>