Add an Else Condition action

Use an Else Condition action to make form actions more flexible and easier to read. At runtime, all the actions within the Else condition are executed if the Begin condition is not met.

An Else Condition action may include:

  1. a Begin condition

  2. a regular action, such as Redirect

  3. an Else condition

  4. a regular action

  5. an End condition

You can create actions in any order. However, once created, you must arrange them in the following order: Begin Condition > Regular action > Else Condition > Regular > End Condition. For example,

BeginCondition1
 Clear1
ElseCondition1 
 Close1
EndCondition1

You can create nested actions within the Begin, Else and End conditions. Once created, nested actions appear indented so that it is easier to determine the actions that are bound within a condition. For example,

BeginCondition1
	Clear1
ElseCondition1
 Close1
BeginCondition2
 Close1
 ElseCondition2
  Close1
 EndCondition2
EndCondition1

You cannot have two else conditions within one Begin and End condition. You can expand or collapse a condition to show or hide actions within it. By default, a condition is expanded.

You cannot move or delete an action when the Begin condition is collapsed. You can reuse Else condition by copying and pasting it in another Begin condition.

  1. On the Form Modeling bar, click Actions.
  2. On the Actions page, click Add Generic Add.
  3. On the Type list, select Else Condition.
  4. Enter a Name and Description for the action.
  5. Click OK.

    The newly created action is added to the table.

  6. Click Save.
  7. Associate the action with the control to trigger this action. To call the condition action upon form load, associate the action with the form. See Associate an action with a form or control.