Skip Navigation

[Resolved] Create new Post Form – Products / Designer – relationships toolset

This support ticket is created 6 years 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 – 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 3 replies, has 2 voices.

Last updated by Luo Yang 6 years ago.

Assisted by: Luo Yang.

Author
Posts
#1151145

Hello,
I can not do it, it is to give the possibility to the visitor to link a designer to the product in the form post.
I searched on the internet but I did not find anything

Best regards
Mohammed

#1151163

Hi,

I assume we are talking about this case:
1) two post types:
- Designer
- Product

One "Designer" post can connect to multiple "Product" posts, one "Product" post can connect to only one "Designer" post.

2) A Toolset form for creating Product post
you are going to display a select field "Designers", let the user choose one of "Designer" post, and submit the form.

If it is , you can try these:
1) Setup one-to-many relationship between post type "Designer" and "Product".
https://toolset.com/documentation/post-relationships/

2) Create a Toolset form for creating "Product" post:
https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/

2) And display above the form link in the single "Designer" post:
https://toolset.com/documentation/post-relationships/selecting-parent-posts-using-forms-create-child-items/#creating-forms-when-a-parent-post-is-preselected

#1151192
test.jpg
test2.jpg

Hi Luo Yang,

Thanks for your answer but I can not find the filds relationships in the add fields section

Best regards
Mohammed

#1151216

You are using many-to-many relationship between post type "Designer" and "Product", the Toolset post form does not support it yet, it is already in our feature request list, I suggest you add your vote on it:
https://toolset.com/feature-request/?wpv_post_search=Extend+current+Post+Forms+to+allow+Many+To+Many+Connections&wpv-wpcf-plugins=CRED&wpv_view_count=686737

Currently, you will need to try the relationship form, see our document:
https://toolset.com/documentation/post-relationships/how-to-build-front-end-forms-for-connecting-posts/