Skip to main content
Version: 1.28 (Current)

Add StaticText

Audience: Low-code Engineers

Skill Prerequisites: Forms, Tokens, HTML

Adds text or HTML to a Dynamic Field Container when the form loads. The content is displayed, but not submitted. It works like a Static Text field placed in the form builder.

See Dynamic Fields for how dynamic fields work and how to set up the container.

Typical Use Cases​

  • Add a heading or instructions above a group of dynamic fields
  • Show read-only details for each item in a list, such as a product's description, next to its input fields

Don't use it to​

Action NameDescription
Add Hidden Field with Custom ValueAdds a hidden value that's submitted with the form.

Input Parameter Reference​

This action has the common parameters, except Secure Input, Readonly, Is Required, Validation Condition, the custom validators and Tokenize Validators?.

The content comes from Initial Value, which can contain HTML and tokens. Field Title is still required.

caution

If Initial Value includes tokens with values users entered, the HTML in those values is displayed as HTML. Only use trusted values.

Output Parameters Reference​

ParameterDescription
Field ID Token NameOptional. Token that receives the cleaned field ID. If empty, the ID is saved in [<FieldId>:Name].

Examples​

tip

To understand how to use the below examples, please see Running Examples.

1. Add a section heading​

Add this action to the form's On PreInit or On Init actions, before the actions that add the other fields. It adds a heading and a short instruction to the ExtraFields container.

{
"Title": "Add StaticText",
"ActionType": "AddDynamicStaticText",
"Description": "Add the section heading",
"Condition": null,
"Parameters": {
"ContainerId": "ExtraFields",
"FieldId": "ExtraHeading",
"FieldName": "Extra details",
"InitialValue": "<h3>A few more details</h3><p>These questions apply to [User:DisplayName]'s account.</p>",
"FieldIdTokenName": ""
}
}

Revised 09/25/2026