Add a Close action

Use the Close action to close the form at runtime.

The Close action works in the Internet Explorer and does not work in Chrome and Firefox browsers. However, as a workaround do the following if you are using the Firefox browser.

Note Ensure that you update the following Firefox advanced settings using about.config:

Dom.allow_scripts_to_close_windows = true

  1. On the Form Modeling bar, click Actions.
  2. On the Actions page, click Add Generic Add.
  3. On the Type list, select Close.
  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 Close action upon form load, associate the action with the form. See Associate an action with a form or control.

    When this action is triggered, the form or the control is closed.