Is it possible to create a view without going to the back-end and manually creating one? For example, using code.
Example (When a new user is registered, i create a new view for him with a custom entry filter)
*CLARIFICATIONS: I need each view to have a different entry filter as they should see entries from the same form.
Example. i need user5 when registered to see only the entry with id 71. The id is chosen by the user when registering
It's not possible to create a view on the fly. One view can be filtered using any parameter o display data the way you'd like. If user5 is only allowed to see a single entry, then you can either assign the user as the entry owner and use the user id to filter the view, or with a little more work, you can assign entry 71 to the user's WordPress user meta data and use that as filter for the view. View filters are the most powerful way to display entry data as you'd like.
"you can assign entry 71 to the user's WordPress user meta data and use that as filter for the view"
How would that work? Could you give me a link or an example?
All the information you need can be found here: https://formidableforms.com/knowledgebase/user-registration/#kb-additional-customizations
Thanks!
Please login or Register to submit your answer