How to Display Only User Submitted Entries in WPForms

With Views for WPForms you can restrict the display of entries to only those that are submitted by logged-in users. This will work with Table, DataTable, and List view. 
There are two ways you can restrict WPForms entries in a View to display only the Logged-in user submitted entries.

Option 1: Display Only User Submitted Entries from View Settings

WPForms Views Display only logged in user submitted 
entries setting
  • Navigate to WPForms Views -> Views and edit the view for which you want to restrict entries.
  • Under View Settings in the sidebar, check the Display only Logged in User Entries togglebox.
  • Save the view.

If the user has submitted the form as a guest ( not logged in ) and later they log in then they won’t see that entry. Only those entries will be displayed which were submitted while the user was logged in.


Option 2: Display Only User Submitted Entries using Filters in View Settings

Edit your View and click on the Filter Settings in the sidebar.
Add a new condition in the filter. Select the form field which contains the logged-in user email address and for value use the merge tag {wp:user_email}.
Now this will only display entries in which Email field has value equal to logged in user email id.

Setting for Adding Filter in WPForms Views to display only logged in user entries.

If you want more control over which entries are shown then you can combine this with display only starred entries and display only view entries settings as well. Check this quick guide about WPForms Entries.

Similar Posts