---
id: gk-gravityview-edit-entry-lock-hidden-visibility-fields
title: "Filter - gk/gravityview/edit-entry/lock-hidden-visibility-fields"
sidebar_label: "gk/gravityview/edit-entry/lock-hidden-visibility-fields"
---

# Filter: gk/gravityview/edit-entry/lock-hidden-visibility-fields

Whether fields whose Visibility is "Hidden" keep their stored value when an entry is edited.

Before these fields were kept in the form, Edit Entry could not reach them at all. Return false on forms where another plugin populates a hidden field from one the editor can change, so the two stay in step.

## Parameters

| Name | Type | Description |
|------|------|-------------|
| $lock | `bool` | Whether to discard submitted values. Default: true. |
| $form | `array` | The form being edited. |
| $entry | `array` | The entry being edited. |

### Since

- TBD: TBD

### Source

Defined in `src/Extension/EditEntry/EditEntryRender.php` at line 920

