---
id: gk-gravitycalendar-events-form-submit-reload
title: "Filter - gk/gravitycalendar/events/form-submit/reload"
sidebar_label: "gk/gravitycalendar/events/form-submit/reload"
---

# Filter: gk/gravitycalendar/events/form-submit/reload

Whether a calendar reloads its events after an entry is submitted on the same page through its form.

The calendar reloads when Gravity Forms submits the form by AJAX and shows a confirmation message. A submission that reloads the page, or redirects, already shows a fresh calendar.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $refresh | `bool` | Whether the calendar reloads its events. Default: true, except in the feed settings preview, the block editor, and a View's calendar that shows only the entries on the View's current page. |
| $feed | `array\|false` | Calendar feed. |
| $form | `array\|false` | The feed's form. |
| $view_id | `int` | ID of the View showing the calendar. 0 when no View shows it. |

### Since

- TBD: TBD

### Source

Defined in `includes/class-calendar-feed.php` at line 3271

