Skip Navigation

[Resolved] Limit relationship in form

This thread is resolved. Here is a description of the problem and solution.

Problem:

The issue here is that the user wanted to only display the parent posts that were created by the current user when they are adding a new child post.

Solution:

On the Edit Form page on the backend you will see your relationship field. What you need to do is to click the relationship field to expand it.

From there you will be presented with the option to "Get only options from current author".

This is the technical support forum for Toolset - a suite of plugins for developing WordPress sites without writing PHP.

Everyone can read this forum, but only Toolset clients can post in it. Toolset support works 6 days per week, 19 hours per day.

Our next available supporter will start replying to tickets in about 8.46 hours from now. Thank you for your understanding.

Tagged: 

This topic contains 2 replies, has 2 voices.

Last updated by romanF 1 year, 2 months ago.

Assigned support staff: Shane.

Author
Posts
#1702733
zugehörigkeit.jpg

Follow up to this ticket:
https://toolset.com/forums/topic/manage-relationship-access/
Summary: "I would like to show only the options of the current user when selection a relationship in a form"

I changed the system now to the frontend. But it still shows all the "akteur" and not just the ones from the current user. Sadly I could not figure out where the settings are that you showed on the screenshot. I do use a user content form and the last option of this is to select the parent (akteur) to this child (angebot). (See screenshot, it should only show one option there)

#1702877

Shane
Supporter

Languages: English (English )

Timezone: America/Jamaica (GMT-05:00)

Screenshot 2020-07-10 at 10.53.39 AM.png

Hi Roman,

On the Edit Form page on the backend you will see your relationship field. What you need to do is to click the relationship field to expand it.

From there you will be presented with the option to "Get only options from current author". See my screenshot

In my case the Relationship field is called Post Cars but your relationship field should be reflected under the correct relationship name.

Please let me know if you were able to find the option.

Thanks,
Shane

#1703439

My issue is resolved now. Thank you!