This thread is resolved. Here is a description of the problem and solution.
Problem:
limit parent drop down by author on Toolset child form with parent field
Solution:
You can use the attribute author="$current" so that the select dropdown only includes parent posts authored by the current user for your parent dropdown select.
This support ticket is created 5 years, 7 months ago. There's a good chance that you are reading advice that it now obsolete.
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.
No supporters are available to work today on Toolset forum. Feel free to create tickets and we will handle it as soon as we are online. Thank you for your understanding.
I am trying to: I have a one to many relationship set up between two cpts 'clients' and 'estimates'. There is a drop down to select the client on the post form that allows you to create new estimates. Currently it displays all clients, I need it to only display clients that were authored by the logged in user.
Link to a page where the issue can be seen:
hidden link
I found this support thread which directly address the topic:
Hello. Thank you for contacting the Toolset support.
Well - You can use the attribute author="$current" so that the select dropdown only includes parent posts authored by the current user for your parent dropdown select.
I've added the attribute as given under:
[cred_field field='@client-estimate.parent' class='form-control' output='bootstrap' author="$current" select_text='--- not set ---']
Can you please confirm it works for you as expected.
author Optional. Use it with a parent selector field to specify that the list of parent posts should be limited to those authored by the mentioned user ID. The value $current can be used to define that the current user should only see their own parent posts in a dropdown.