Clear action

Use the Clear action to clear (delete) any data on form controls at runtime.

This includes clearing selected form variables, text boxes, check boxes, dropdown lists, and tables. The Clear action does the following:

  • Removes the entire list associated with the dropdown.
  • Deletes all rows of the table.
    Note Use the Clear selection action to clear the selections in a dropdown list or table but retain the data for those controls.
  • Sets the check box fields to indeterminate.
  • Makes all other fields blank.

  1. On the form modeling bar, click Actions and click New.

    The New action dialog box is displayed.

  2. On the Type list, select Clear.
  3. Change the default Name (Clear1) to something meaningful.
  4. Optional. Enter a Description for the action.
  5. Optional. Select Multilingual to configure a unique action for each language separately. See Configure multilingual actions.
  6. To add the fields to be cleared, click Add for Fields/Form variables, select the required fields and variables, and click Done.
  7. Click Add.

    The newly created action appears on the Actions page.

  8. 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.

    When this action is triggered, the data on the selected fields and form variables is cleared.