# Header

## Tabs

### Form and Script Actions

This tool lets you set or override the default actions that are executed when a Controller Page Template is submitted or a Controller Python Script returns. Learn more.

### Edit Form/Script Action Overrides

| Template/Script | Status | Context | Button | Action | Argument

No actions have been specified

### Add a New Form Action Override

Template/Script |  |
Status |
Context type |
Button |
Action type |
Action argument |

### Edit Default Actions

No actions have been specified

### Add Default Action

### Default Actions

Template/Script | Status | Context | Button | Action | Argument
|  | Any | Any |  |

No actions have been specified

### Definitions

- Template/Script: The Controller Page Template or Controller Python Script for which you are setting actions. Note that these will only affect Controller Page Templates and Controller Python Scripts that return a ControllerState object. These actions will be ignored for ordinary PageTemplates, ordinary Python Scripts, DTML Methods and DTML Documents.
- Status: The status for which the given action is executed. Validators typically return 'success' or 'failure' as their status.
- Context: The type of context object for which the given action is executed. This lets you set different actions for different types of content objects.
- Button: The button for which the given action is executed. This lets you set different actions depending on which button on a form is pressed. Leave the button field blank to use the same action for any button. To use this functionality, you must name each button in the template `form.button.NAME`. For example, if you have `<input name="form.button.button1" type="submit">` in your Controller Page Template, you can specify what happens when this button is pressed by entering `button1` in the button field.
- Action: The type of action to execute. The available types of actions are as follows:
  - :
- Argument: The argument for the specified action. This must be a TALES expression.

Documentation

# Footer