NFViews offers more than just displaying entries; it allows you to edit Ninja Forms entries right from the frontend.
Please take note that a Developer license of NFViews is required for this feature.
How the Edit Entry Addon Works
The Edit Entry Addon pre-populates the form fields with existing entry data. When you submit the form, it updates the existing entry instead of creating a new one.
Steps to Enable Edit Entry in NFViews
- Create or Edit an NFView
- Navigate to NFViews -> Add New or edit an existing view.
- Add Edit Entry Field
- Under the Entry List, add the Edit Entry field. This link will automatically convert to a link that allows the entry to be edited.
- Under the Entry List, add the Edit Entry field. This link will automatically convert to a link that allows the entry to be edited.
- Configure Edit Entry Link
- In the sidebar, go to View Settings -> Edit Entry.
- Enter the link to the page where your form is displayed on the frontend.
- Publish or Update the View
- Click the Publish or Update button.
How to Edit Ninja Forms Entries from the Frontend
- Open the View
- After adding an ‘Edit Entry’ link in your view, open the view in the frontend.
- Click the Edit Entry Link
- Click the edit entry link. This will redirect you to the page where your form is located (the link you added under the Edit Entry tab in the backend).
- Click the edit entry link. This will redirect you to the page where your form is located (the link you added under the Edit Entry tab in the backend).
- Edit and Submit the Form
- The form will be prefilled with all the entry data, which you can change and submit.
- Upon form submission, it will update the existing entry instead of creating a new one.
By following these steps, you can easily edit Ninja Forms entries directly from the frontend, enhancing the usability and efficiency of your forms.
How to trigger Actions when editing Ninja Forms Entries in Frontend
By default, when editing entries using NFViews from the site frontend, no Actions are fired. This makes perfect sense because users wouldn’t want to receive notifications or be redirected to payment gateways again when making edits. However, in some cases, you may need a particular Action to run again when editing an entry. Well, the good news is that it’s now possible to set up a Ninja Forms Action that can run when editing entries.
To enable this Action when editing an entry, you’ll need to start by editing your Action Settings. You can do this by accessing the Form in the backend.
Inside the Action Settings, you’ll notice a new section called “Edit Entry Section.”
Within this section, there’s a handy toggle button that allows you to enable the firing of the Action when Editing an Entry from the frontend.
That’s it! Now, whenever you edit a Ninja Form entry using NFViews, this Action will be triggered. You can apply this setting to any Action, such as Email, Mailchimp, and more.