---
title: "How to trigger form notifications when editing with GravityEdit"
date: 2026-04-23
author: "GravityKit"
link: "https://www.gravitykit.com/docs/gravityedit/how-to-trigger-form-notifications-when-editing-with-gravityedit/"
---

By default, when updating fields with GravityEdit (formerly called Inline Edit) no form notifications are sent.

 If you wish to send a form notification after updating a field, then you must use the code snippet below:

```

add_filter( 'gravityview-inline-edit/entry-updated', 'gravityedit_custom_trigger_notifications', 10, 5 );

function gravityedit_custom_trigger_notifications( $update_result, $entry = array(), $form_id = 0, $gf_field = null, $original_entry = array() ) { 
	$entry = GFAPI::get_entry( $entry['id'] );
	$form = GFAPI::get_form( $form_id  );
    GFCommon::send_form_submission_notifications( $form, $entry );
}
```

```

add_filter( 'gravityview-inline-edit/entry-updated', 'gravityedit_custom_trigger_notifications', 10, 5 );

function gravityedit_custom_trigger_notifications( $update_result, $entry = array(), $form_id = 0, $gf_field = null, $original_entry = array() ) { 
	$entry = GFAPI::get_entry( $entry['id'] );
	$form = GFAPI::get_form( $form_id  );
    GFCommon::send_form_submission_notifications( $form, $entry );
}
```

 This code will only trigger notifications of the event " **Form is submitted**":

![Notifications settings for form submission event in GravityEdit](https://www.gravitykit.com/wp-content/uploads/2025/10/file-4b5bxbI2vp.png)
*Related: [Where to put code samples](https://www.gravitykit.com/docs/gravityview/customizing-your-views/where-to-put-code-samples/)*