Label

Use the Label form control to insert headings and rich text in forms.

Note: You can arrange up to six of this control on a single row in the form.

Section Setting Description
(unlabeled) Title The name of the field that is displayed on the published form.
  Customize

A toggle for enabling and disabling customization of the name of the Label control.

Switch the toggle to Yes to enable customization.

  Name

(This field becomes configurable only when you switch the Customize toggle to Yes.)

Customizes the name of the variable A placeholder that stores changes each time the workflow runs, such as the information entered in a form, or the name of a file. You can also create variables to store information you use in the workflow, such as an email address. for the field. If the name is not customized, the Title will be used as the variable name.

 

Text

Type a text that will appear on the published form.

To insert variables, hover over or click this field, and then click the Insert option that appears on the upper-right corner.

  • Context variablesYou can use context variables to personalize the text that appears on the published form based on data related to the current workflow instance. For example, the label can display a greeting with the signed-in user's first name and last name, such as "Welcome John Doe."

    Important: 
    • Context variables are supported only in authenticated start forms.
    • Context variables are available only if you insert variables from the Text field of the Label control.

    • To view the output, you need to publish the workflow. Context variables are not yet available for preview.

  • External data: You can add data source variables to display data from third-party services in the form. 

    If you want to deny form submissions when a Label control has data source variables that time out, do not resolve, or have errors, you can enable the toggle for form submissions in the General settings page. For more information, see Forms settings .

    For more information on data source variables, see External data

 

Vertical alignment

Applies the selected alignment to the heading text on the published form:

  • Top
  • Middle
  • Bottom
 

Visible

Shows the label on the published form when loaded.

  Shrink Reduces the width of the control when placed in a row with other form controls.
  Expand Increases the width of the control when placed in a row with other form controls.
Styling CSS class

Add a CSS class to apply a style to this form control. You can create the CSS class in the CSS code editor in form styles. Enter one class name or multiple class names separated by a space.

For more information, see Add a custom CSS to individual controls.

Note: The CSS Class field is available only if the Custom CSS setting is enabled in Nintex Automation Cloud Form settings.