Using Form Trigger in Trigger loop Handle

You can use the form trigger to trigger on form element events.

Prerequisites

In Automation Workspace, you added the Trigger loop Handle to your bot.

Procedure

  1. In the Trigger loop Handle, select Form in the Trigger on field.
    A list of options for the form trigger will appear for you to configure.
  2. Select a variable in the Form name field.
    You can create a new variable as well, where you specify the variable name, its use as in input or output, and upload an existing form.
  3. Select a element variable in the Form element field.
    The list should be available for you to select when there is an element in your form.
  4. Select an action in the Select action trigger field.
    • Lost focus: Button is clicked.
    • Got focus: Input field is clicked.
    • Lost focus: User leaves the input field.
    • Changed value: Check box or radio button status is changed.
    • Value selected: Check box is selected.
    • Value unselected: Check box is deselected.
  5. Optional: In the Assigned to field, specify a variable to assign variable to this form.

    This assigns the value from the specified form element to this variable

  6. Click Save to save your configuration.
    You have configured the form trigger for use with the trigger loop handle.