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:
a Begin condition
a regular action, such as Redirect
an Else condition
a regular action
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. However, you can reuse an Else condition by selecting the condition within another Begin and End condition.
You cannot move or delete an action when the Begin condition is collapsed.
On the form modeling bar, click
Actions and click
The New action dialog box is displayed.
- On the Type list, select Else condition.
- Change the default Name (ElseCondition1) to something meaningful.
- Optional. Enter a Description for the action.
The newly created action appears on the Actions list.
- Associate the action with the control to trigger this action. See Configure actions for form control events. Alternatively to call this action for a form event, associate the action with the form. See Associate an action with a form.