---
title: "How to rename the Update and Cancel buttons on the Edit Entry page"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityview/customizing-your-views/how-to-rename-the-update-and-cancel-buttons-on-the-edit-entry-page/"
---

It's possible to customize the labels of the Update and Cancel buttons on the Edit Entry page:

![Edit Entry form with fields for name, email, message, and buttons: Update, Cancel, Delete](https://www.gravitykit.com/wp-content/uploads/2025/10/file-WY7PS5nrUB.png)
*This code snippet helps you do that:*
```

add_filter( 'gravityview/edit_entry/button_labels', 'gv_modify_edit_entry_buttons', 10, 4 );

function gv_modify_edit_entry_buttons( $labels, $form, $entry, $view_id ){
	$labels = array(
		'cancel' => __( 'Cancel Update', 'gravityview' ),
		'submit' => __( 'Update Entry', 'gravityview'),
		'next' => __( 'Next page', 'gravityview'), // for multi-page forms
		'previous' => __( 'Previous page', 'gravityview') // for multi-page forms
	);
		return $labels;
}
```

```

add_filter( 'gravityview/edit_entry/button_labels', 'gv_modify_edit_entry_buttons', 10, 4 );

function gv_modify_edit_entry_buttons( $labels, $form, $entry, $view_id ){
	$labels = array(
		'cancel' => __( 'Cancel Update', 'gravityview' ),
		'submit' => __( 'Update Entry', 'gravityview'),
		'next' => __( 'Next page', 'gravityview'), // for multi-page forms
		'previous' => __( 'Previous page', 'gravityview') // for multi-page forms
	);
		return $labels;
}
```

Read here how to add these code samples to your website: [Where to put code samples.](https://www.gravitykit.com/docs/gravityview/customizing-your-views/where-to-put-code-samples/)

Here's the output after using the code above:

![Edit Entry page with fields for name, email, message; buttons for updating, canceling, and deleting](https://www.gravitykit.com/wp-content/uploads/2025/10/file-WT5PjZY9rt.png)