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.
Dom.allow_scripts_to_close_windows = true
- On the Form Modeling bar, click Actions.
- On the Actions page, click Add .
- On the Type list, select Close.
- Enter a Name and Description for the action.
-
Click
OK.
The newly created action is added to the table.
- Click Save.
-
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.