Front end view to only some users

By: Enrico Brugnoni | Asked: 06/01/2023
ForumsCategory: General questionsFront end view to only some users
Enrico Brugnoni asked 1 year ago

Is there any way to display form entries in the front-end using formidable views to only specific users?
CLARIFICATION* I am not talking about specific TYPES of users

Example I have a type of user called "ACCOUNTANT", i register 2 users under this type, accountant1 and accountant2, i want to display some entries to accountant1 only and some to accountant2 only.

Thank you very much!

Victor Font replied 1 year ago

Your question is confusing. You said, "I am not talking about specific TYPES of users" and then you are asking about two specific types of users. What do you really want to do.

In order to filter view entries based on user role, the user roles must be unique. You can't have a single role called Accountant and expect to show different content to accountant1 and accountant2 without some sort of unique identifier to distinguish them. If you can't use "user role", you have to use something else that's unique about the user that matches the content you want them to see.

Enrico Brugnoni replied 1 year ago

sorry for the confusion.
re-reading it now, the user type is a redoundant information.
The simplest question is "How do i show specific entries front end filtering by using user ID"
For example, i want the user with the ID "accountant1" to see only the entries with id 5 and 6

1 Answers
Walter JonesWalter Jones answered 1 year ago
Are those set as part of their user Meta when you create the accounts? If so you can filter your view using the data.  

https://formidableforms.com/knowledgebase/filtering-entries/#kb-by-user-meta
Enrico Brugnoni replied 1 year ago

Sorry for the confusion.
Re-reading it now, the user type is a redundant information.
The simplest question is "How do i show specific entries front end filtering by using user ID"
For example, i want the user with the ID "accountant1" to see only the entries with id 5 and 6.

Making the Best WordPress Plugin even better - Together

Take on bigger projects with confidence knowing you have access to an entire community of Formidable Experts and Professionals who have your back when the going gets tough. You got this!
Join the community
crossarrow-right