Skip Navigation

[Resolved] How to combine Relationship Form and Post Form?

This support ticket is created 5 years, 1 month 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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 9:00 – 13:00 -
- 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 14:00 – 18:00 -

Supporter timezone: Asia/Hong_Kong (GMT+08:00)

This topic contains 4 replies, has 2 voices.

Last updated by duongN-3 5 years, 1 month ago.

Assisted by: Luo Yang.

Author
Posts
#1361669

Tell us what you are trying to do?
Add relationships while creating a post using Post Form. Preferably bulk adding of relationships versus one by one submission.

Is there any documentation that you are following?
Couldn't find anything except for https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/editing-existing-connections-between-related-posts/

Is there a similar example that we can see?
N/A

What is the link to your site?
Combine Post Form: hidden link
With Relationship Form: hidden link

#1361739

Hello,

I assume we are talking about many-to-many post type relationship.
There isn't such kind of built-in feature within Toolset Forms plugin, one form can handle only one post/user/relationship.

And according to HTML standard, form within form is not allowed, see similar thread:
https://stackoverflow.com/questions/1759006/embed-an-html-form-within-a-larger-form

So I suggest you follow our document to setup/display the relationship form:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/creating-new-connections-between-related-posts/

#1361763
Screen Shot 2019-10-14 at 8.38.28 PM.png

Hi Luo,

I've already followed the above guide, but looking for a more streamlined way of adding relationships.
Is there a way for me to replicate this (attached image) in the WordPress UI using Post Forms?

Thanks.

#1361773

As I mentioned above, there isn't such kind of feature within Toolset Forms plugin, and you can not put the relationship form into post form for creating post, it won't work as expected.

Currently, you can add a feature request for it:
https://toolset.com/home/contact-us/suggest-a-new-feature-for-toolset/

Our developers will evaluate it.

#1361775

My issue is resolved now. Thank you!