Passer la navigation

[Résolu] Post form does not show many to many relationships

Ce fil est résolu. Voici une description du problème et la solution proposée.

Problem:
The post form does not display many-to-many relationships, preventing the selection of existing items during post creation.
Solution:
Create a separate Relationship form to handle many-to-many relationships. Follow the steps outlined in this guide: https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/

This support ticket is created Il y a 2 years, 1 month. 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.

Ce sujet contient 5 réponses, a 2 voix.

Dernière mise à jour par Christopher Amirian Il y a 2 years, 1 month.

Assisté par: Christopher Amirian.

Auteur
Publications
#2691128

I made a post form. It automatically detected one to many relationship and displayed. Texonomy was also correct. But apparently there is no way to add existing many to many relationships. Kindly help.

#2691274

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

To be able to handle many-to-many relationships you need to create a Relationship form.

Here is how to do so:

https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/

Thank you.

#2691287

Sir, actually the purpose of form is to submit new post by the member. That's why I used post form. At the time of making new post items are needed to be selected from many side. How to do this?

#2691450

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

That i snot possible. The nature of the many to many relationship prevents that. That is why we have a separate Form type to handle the many to many relationship.

Thank you for your understanding.

#2691469

Ok. That's fine. But then how to use relationship form for the purpose of post submission?

#2691575

Christopher Amirian
Supporter

Les langues: Anglais (English )

Hi there,

That is correct, you will need to have a separate post form and relationship form.

And you can use the method below to kind of connect them:

https://toolset.com/forums/topic/linking-post-form-and-relationship-form/

Thanks.

#2692246

Just closing this ticket. thanks for guiding to one solution link. Will try or may go for simpler manual option.