Skip Navigation

[Resolved] Relationship Forms

This support ticket is created 3 years, 8 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.

Sun Mon Tue Wed Thu Fri Sat
8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 - -
13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 13:00 – 17:00 - -

Supporter timezone: America/New_York (GMT-04:00)

This topic contains 3 replies, has 2 voices.

Last updated by jillT 3 years, 8 months ago.

Assisted by: Christian Cox.

Author
Posts
#2038779

I have 2 CPTs with a many > many relationship (recipes > Ingredients)
I then have 2 intermediary posts under Ingredients

Is it at all possible to have forms to create & edit Recipes and include Ingredients and intermediary posts?

#2039795

Hello, the supported workflow for managing many-to-many (M2M) relationships and their intermediary fields currently requires a separate Relationship Form. Forms that create or edit the individual Recipe and Ingredient posts do not include M2M relationship management features - that type of customization would require additional custom programming. We offer generic fields, the Forms APIs, and the Post Relationships APIs to help facilitate that type of customization, if you're interested in adding that functionality to a single post Form. API references:
https://toolset.com/documentation/programmer-reference/cred-api/
https://toolset.com/documentation/customizing-sites-using-php/post-relationships-api/

Generic fields with dynamic options from Views:
https://toolset.com/forums/topic/use-toolset-views-inside-toolset-form-generic-field/#post-1153069

#2040371

Thanks Christian. Sadly it's going to be a no from me. Means I will probably have to redo my site and not use relationship I wanted, which means I can't do everything I had in mind. Very sad. I do hope that they will do something that does allow a form to be created easily.

#2040373

Thanks Christian.