Skip Navigation

[Resolved] muti edit front end – relationship

This support ticket is created 5 years, 9 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
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 14:00 – 18:00 13:00 – 18:00 -

Supporter timezone: America/Jamaica (GMT-05:00)

This topic contains 3 replies, has 2 voices.

Last updated by Shane 5 years, 9 months ago.

Assisted by: Shane.

Author
Posts
#1240431

Tell us what you are trying to do?
I have the back end set up with a many to many relationship between "A" Types and "B" Types
The back end works fine, thus when I am editing an "A" type I can add as many "B" types to it as needed, and vise versa
I want to do the same on the front end for the user.

Is there any documentation that you are following?
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/editing-existing-connections-between-related-posts/#2-creating-a-toolset-form-for-editing-a-relationship

What I'm doing now.
- this is what I have so far: hidden link

Am I doing it correctly? Is the user instruction to be: Find yourself as an A or B type, then add the relationship. Is here a way to make software now that you are A or B and so it would be just add in the new relationship?

#1240464

Shane
Supporter

Languages: English (English )

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

Hi Mindy,

Thank you for contacting our support forum.

The back end works fine, thus when I am editing an "A" type I can add as many "B" types to it as needed, and vise versa
I want to do the same on the front end for the user.

I understand what you are trying to achieve here. You are asking if you can replicate this functionality on the frontend. Unfortunately not, however our development team is continuously working on improving this in our Toolset Forms.

For you second question have a look at the link here.
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/creating-new-connections-between-related-posts/#connecting-child-posts-to-a-specific-parent

I'm assuming that you at least want one of the relationships to already be preselected on the form.

Please let me know if this helps.
Thanks,
Shane

#1241109

Does this mean that the underly relationship has to be set to one to many?

#1241182

Shane
Supporter

Languages: English (English )

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

Hi Mindy,

No it doesn't need to be as from our tutorial the relationship ship forms are for Many to Many relationships.

However is it that a post can only have 1 parent?

Thanks,
Shane