Creating the View (Edit Entry Layout)


In this part of the course, we’re going to finish constructing our View by configuring the Edit Entry layout. The Edit Entry layout is where entry owners go to update their directory listing from the front end.

Configuring the Edit Entry layout

Click on the “Edit Entry Layout” tab at the top.

The Edit Entry Layout tab at the top of the View editor

If you leave the layout blank, all form fields will be editable! 

The Edit Entry page

However, if you only want certain form fields to be editable from the front end, you’ll need to add them to the View editor.

To add fields, simply click on the ‘+ Add Field’ button.

The '+ Add Field' button in the View editor

For example, let’s say we only want the entry owner to be able to update the Business Name, Email and Phone Number fields.

Fields added to the Edit Entry Layout

As you can see, when opening the Edit Entry page, only those three fields are editable.

The Edit Entry page

That’s it!

Tweaking the Edit Entry Settings

To adjust the Edit Entry settings, scroll down to the Settings meta box and click on the Edit Entry tab on the left.

The Edit Entry settings in GravityView

At the top you’ll see three checkboxes:

  • Enable Edit Locking
    Enabling this options stops multiple users from editing an entry at the same time.
  • Allow User-Edit
    Enabling this allows logged-in users to edit entries that they create.
  • Unapprove Entries After Edit
    Enabling this option resets the approval status of an entry to “unapproved” after it has been edited by a user.

Below that is an option to redirect users after they edit an entry. You can either stay on the Edit Entry page, redirect users to the Single Entry page, redirect users to the Multiple Entries page or redirect users to a custom URL.

Options for redirecting after editing

Finally, you can also change the text for the Update, Cancel and Deletes buttons. You can also use Gravity Forms merge tags to display content dynamically from the listing.

Input boxes for changing the text of the 'Update', 'Cancel' and 'Delete' buttons

Wrapping Up 

That’s it for this lesson. In the next part of the course, we’ll go over the View Settings in a lot more detail. I’ll see you there! 👋

Additional Resources