---
title: "Feature: #70531 - RequireJS module for split buttons"
manual: "TYPO3 Core Changelog"
version: "main"
permalink: "https://docs.typo3.org/permalink/changelog:feature-70531"
source: "Changelog/7.6/Feature-70531-RequireJSModuleForSplitButtons.rst"
modified: "2026-09-15T10:46:36+00:00"
---

# Feature: #70531 - RequireJS module for split buttons

See [forge#70531](https://forge.typo3.org/issues/70531)

## Description

A RequireJS module for split buttons has been added. The module can be used in another RequireJS modules to
add callbacks being executed before the submit takes place. As the callback receives the click event,
the submit can be modified, e.g aborting the submit.

## Impact

To use the `SplitButtons` module, include it in your own RequireJS module:

```javascript
define('Vendor/Ext/Module', ['TYPO3/CMS/Backend/SplitButtons'], function(SplitButtons) {
	// Your code...
});
```

Callbacks will be added by calling `SplitButtons.addPreSubmitCallback`:

```javascript
SplitButtons.addPreSubmitCallback(function(e) {
	// Code being executed as callback before submit
});
```
