Custom permissions for Formidable views?

By: Brian Gasperosky | Asked: 06/30/2022
ForumsCategory: How-toCustom permissions for Formidable views?
Brian Gasperosky asked 2 years ago
I have a form with a view. The permissions on the form are set to require users to log in to access the form. I would like to also require users to log in to see the view. Is there a way to set user permissions on views, or do I need to do that at the page/post level?
2 Answers
Bobby Clapp answered 2 years ago
Formidable doesn't have a lot of options for views. I suggest something like
Brian Gasperosky replied 2 years ago

Thanks! I kind of figured as much. I wrote a custom plugin for our site that only displays private content for logged-in users that I'm already using on some posts, but if I need more functionality I'll check content-control out.

Wilco Wietsma replied 2 years ago

I would really hope sometime in the future Formidable is going to step-up and allow for a better auhorisation / permissionsmodel. I really like Formidable Forms but compared to Gravity and for example hosted software like Typeform the lag behind so far 🙁

Victor Font answered 2 years ago
You can filter a view by [current user] if you captured the user id in the user's entry. To prevent unauthorized users from seeing the view, the view filter should be set to user_id equals [current user] OR user_id equals 0. If you don't use the second OR condition, Formidable will display all records in the view.

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