[Resolved] Relationship use title in the dropdown i want to use a custom post type
This support ticket is created 6 years, 2 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.
Tell us what you are trying to do?
hi
having two tables connected in a one to many relationship
when i go to the child and want to select the parent where the parent having no title but CPT with a name field and other fields
how to let the dropdown select the CPT name field instead of using the title field?
Also when generating relationship form and autogenerate content the form displays but the dropdown is empty?
how to let the dropdown select the CPT name field instead of using the title field?
This is not possible. We are working on a feature that will allow you to control better what to display when you edit or add a related post, but still, then it will not be possible to populate the Select2 Field with a Custom field.
Something similar be done in a Relationship Form, however (Toolset Forms).
There, you can sort, order and filter by Post ID, Post Name or post authorship.
But the exact request you mention needs a new feature (I can file this if you agree).
Also when generating relationship form and autogenerate content the form displays but the dropdown is empty?
I need more steps to know how this happens.
On the link you share, it seems I need to log in.
Hence I activated a private reply for you to submit:
- details of the issue, how you produce it and where I can see it
- access to the site
Then we can have a look and determine how to proceed.