Crocoblock / suggestions

The suggestions for CrocoBlock project
196 stars 79 forks source link

Filter Pre-filled Relation on Front End Form by User who created the related post #3331

Open rseitzberg opened 3 years ago

rseitzberg commented 3 years ago

Before adding a new feature request, please, make sure you’ve checked:

I talked to support and they said it was not a feature yet

Please, describe the feature request, making it clear to understand.

When creating a relationship on a front end form there is no way to filter by the user who created the related post. For example: On a real estate property site that has properties and real estate agents, if you had two users who created 2 properties and 2 real estate agents each, they would be able to select from all 4 properties or all 4 real estate agents in the relationship field on the front end form. It would be more ideal to be able to filter the related posts by the user who created the posts. After the "fill options from" and "post type" maybe you can also add another field to filter by the author/user who created the posts.

This is the article to reference where you guys explain how to setup the relationship for the front end form:

https://crocoblock.com/troubleshooting/articles/how-to-show-posts-relations-in-the-add-new-post-frontend-form/

Paul from WP Tuts explains how to set it all up in this youtube video but didn't explain the front end form part yet:

https://youtu.be/fwGon7N7fZQ

Add an example of where this feature is already implemented.

A relationship can be created from the wordpress backend, but it can not be done from a jet engine form.

I think that it might be possible to create a front end form with this plugin but it would actually just be displaying the backend on the frontend which isn't exactly ideal:

https://wpfrontendadmin.com/

andre-xavier-berger commented 3 years ago

+1