Hidden fields and field visibility on Edit Entry
Gravity Forms can keep a field out of sight with the Hidden field type, or with the Visibility setting in a field’s Advanced settings set to Hidden or Administrative. On a View’s Edit Entry screen, each one behaves differently, and the View’s Edit Entry Layout tab decides most of it.

Gravity Forms explains the Visibility choices in its common field settings.
What the Edit Entry screen shows #
| Edit Entry Layout empty | Field added to the Edit Entry Layout | |
|---|---|---|
| Hidden field type | In the form as a hidden input. Nobody sees it. | In the form as a hidden input. Nobody sees it. |
| Visibility set to Hidden | In the form but hidden from everyone, administrators included. Its saved value can’t be changed. | Shown and editable, to the users its Make field editable to setting allows. |
| Visibility set to Administrative | Shown only to users who can edit entries in Gravity Forms, such as administrators. | Shown and editable, to the users its Make field editable to setting allows. |
Once the Edit Entry Layout lists any fields, a field you leave out isn’t on the Edit Entry screen at all. Its value stays as it is when someone clicks Update, even when an answer on the Edit Entry screen skips the page the field is on.
Hidden field type #
On the Edit Entry screen, a Hidden field is a hidden input while the Edit Entry Layout is empty, and when you add the field to the layout. Its value stays as it is when someone clicks Update, unless the person editing changes an answer so that the field’s page is skipped.
To show the field as a text box that people can change, add this filter:
// Show Hidden fields as text boxes on the Edit Entry screen.
add_filter( 'gravityview/edit_entry/reveal_hidden_field', '__return_true' );To leave Hidden fields out of the Edit Entry screen’s HTML, add this filter. It works only while the Edit Entry Layout is empty, and the field keeps its value when the entry is updated, even when an answer on the Edit Entry screen skips its page. In a layout that lists fields, leave the Hidden field out of the layout instead.
// Leave Hidden fields out of the Edit Entry form when the layout is empty.
add_filter( 'gravityview/edit_entry/render_hidden_field', '__return_false' );Note: Adding custom PHP code snippets to your website shows where to put this code.
Fields with Hidden visibility #
While the Edit Entry Layout is empty, a field whose Visibility is Hidden stays hidden on the Edit Entry screen, administrators included. GravityView also keeps its saved value: a different value sent with the form is thrown away.
To let people see and change the field, open your View, click the Edit Entry Layout tab, add the field with Add Field and click Update to save the View. It then shows as an ordinary field to the users its Make field editable to setting allows, and their changes are saved.

If a script or another plugin fills in the field on the Edit Entry screen while the layout is empty, its new value is thrown away too. To save it, add this filter:
// Save new values of Hidden visibility fields on the Edit Entry screen.
add_filter(
'gk/gravityview/edit-entry/lock-hidden-visibility-fields',
'__return_false'
);Note: Adding custom PHP code snippets to your website shows where to put this code.
A Repeater field that holds a field whose Visibility is Hidden isn’t on the Edit Entry screen at all, for administrators too, even when the Edit Entry Layout lists the Repeater. Its saved rows stay as they are when someone clicks Update.
With the filter above, the Repeater shows. While the Edit Entry Layout is empty, its field with Hidden visibility stays hidden. Once the Edit Entry Layout lists the Repeater, that field shows as an ordinary box, and changes to it are saved.
Either way, the Repeater is then on the Edit Entry screen. When the person editing changes an answer so that the Repeater’s page is skipped, Update clears its rows, that field’s values included.
Fields with Administrative visibility #
While the Edit Entry Layout is empty, a field whose Visibility is Administrative shows only to users with the Gravity Forms capability gravityforms_edit_entries, such as administrators. The entry’s creator doesn’t see it, and neither do editors or other roles that edit entries with GravityView’s gravityview_edit_others_entries capability.
Once you add the field to the Edit Entry Layout, it follows its Make field editable to setting like any other field. A field you add is set to Entry Creator, so the person who submitted the entry can see and change it.
To keep the field for staff, click its gear icon in the Edit Entry Layout, choose Administrator under Make field editable to and click Update to save the View. A lock icon then marks it in the layout.

With Administrator, the entry’s creator doesn’t get the field, and their updates leave its value as it is. Administrators, editors and roles that can edit every entry still see it. To set up such a role, follow Creating an Entry Moderator role.
When a field inside a Repeater has Administrative visibility, the Repeater shows only to users who can edit entries in Gravity Forms, even when the Edit Entry Layout lists it with Entry Creator. For everyone else it isn’t on the screen, and its saved rows stay as they are when they click Update.
Edit the rows of a Repeater field covers the other cases where Edit Entry leaves a Repeater out.
Configuring the Edit Entry screen covers the rest of the Edit Entry Layout and its settings.