Show TOC

Defining Form Logic in the Form ContextLocate this document in the navigation structure

Use

In the context of a form template, you can define the logic that the system is to use to retrieve and output the data of a form. To do this, you can use the following options for each node of the context structure:

  • Specify static and dynamic values in the node properties

  • Define conditions

Prerequisites

You have called the context of a form template for editing.

More information: Defining the Context of a Form Template

Procedure

Entering Values in the Properties of a Node

For most nodes, you can enter values that the system takes into account when creating the form. The values can have the following type:

  • Static

    Enter the value between quotation marks.

    Example: Name of the text module for a level 1 reminder: 'REMINDERLEVEL1'

  • Dynamic

    Enter the name of a field that delivers the value at runtime without quotation marks.

    Example: Name of the field that contains the text module name at runtime: FIELD_FOR_TEXT .

Defining Conditions for Executing a Node

You can place conditions on certain nodes of the context structure. The system only processes the node and its subnodes if the respective condition is met. To create a condition, proceed as follows:

  1. Call the detailed data (properties and conditions) of the node by double-clicking it

  2. Choose Conditions .

  3. Choose the icon to Insert or Append a line.

  4. If you want to link the line to the previous one, enter the Operator AND or OR.

    Note

    In the first line, the Operator field stays empty.

  5. Enter a field (variable) or a value as the first Operand .

  6. Click the icon in the Relational Operator column and select the required option.

  7. Enter the second Operand .