The Cancel command negates all commands following it. It is usually used in a command list in conjunction with the Skip command, conditionally dependent on its parameters. This and other commands can be added to your form using Action Buttons, Form Objects or Bubble Tips.
Commands can be added to Action Buttons by drawing a button using the Object Toolbar, then double-clicking to display the list of commands. Press the Add button and select "Cancel" from the dropdown list.
After clicking OK, you can resize your button, and select the text to edit it. Double-clicking on the button again displays the List of Commands so you can add multiple commands to a single button.
Action Button
Command: