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
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
Hi Luo Yang,
Thanks for your answer but I can not find the filds relationships in the add fields section
Best regards
Mohammed
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/