Skip Navigation

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

This support ticket is created hace 5 años, 1 mes. 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.

Hoy no hay técnicos de soporte disponibles en el foro Juego de herramientas. Siéntase libre de enviar sus tiques y les daremos trámite tan pronto como estemos disponibles en línea. Gracias por su comprensión.

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)

Este tema contiene 4 respuestas, tiene 2 mensajes.

Última actualización por duongN-3 hace 5 años, 1 mes.

Asistido por: Luo Yang.

Autor
Mensajes
#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: enlace oculto
With Relationship Form: enlace oculto

#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!