Skip Navigation

[Resolved] Relationship missing in form

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

Our next available supporter will start replying to tickets in about 2.35 hours from now. 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: Africa/Casablanca (GMT+00:00)

Author
Posts
#1756019
Captura de pantalla 2020-08-25 a las 11.20.47.png
Captura de pantalla 2020-08-25 a las 11.20.33.png

Hi there.

I have a relationship for 2 custom post types.

I created a post form to create post types.

In the wordpress admin I can connect that custom post types. But in the form I can't connect. There are not any optioin to insert the relationship. In expert mode neither.

I attach 2 screenshots.

Any idea about the poblem?

#1756385

Jamal
Supporter

Languages: English (English ) French (Français )

Timezone: Africa/Casablanca (GMT+00:00)

Hello and thank you for contacting the Toolset support.

In order to connect posts in a relationship in the frontend, you will need to create a relationship form instead of a "Post form", check this article it explains how and provides an example https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/

I hope this helps. Otherwise, I'll need to take a closer look at your backend to check how the form is built.

#1756431
Captura de pantalla 2020-08-25 a las 15.49.45.png
Captura de pantalla 2020-08-25 a las 15.23.30.png

Hi Jamal

I was talking with Waqar yesterday and there was a related combobox in the form. You can see the post here: https://toolset.com/es/forums/topic/toolset-chat-support-ticket-by-david-gimenez-1598247357/#post-1753165 (in the last screenshot in that message you can see a related post in the form -> Denominacions de vins vins) I had 2 related in one form. Now there is one but not appear in the form like as denominacions de vins vins

I have other forms and I can assign related posts to the post that I'm creating.

I attach an screenshot of other form.

I don't understand the reason that in one form I can assign related posts and other times not.

Thanks for your help Jamal

#1756479

Solved Jamal

Relation X - Y (one to many)

Form to create a post Y - > There is a dropdown in the form of related post X. It's not necessary an additional relationship form to connect posts
Form to create a post X - > There is not a dropdown in the form of related post Y. It's necessary an additional relationship form to connect posts

My issue is resolved now. Thank you!

This ticket is now closed. If you're a WPML client and need related help, please open a new support ticket.