Tell us what you are trying to do?
I have a Artist custom post type and an Exhibition custom post type. I have connected them by a many-to-many Relationship (i.e. many Exhibitions can have many Artists). I am using a Post Form to add a new Exhibition and need the custom field of Artist Name to show up in the "Add New Exhibition" Post Form as a repeatable field since one Exhibition can have multiple Artists.
Currently, when I create the "Add New Exhibition" Post Form, none of the fields from the Artist Field Group show up for me to add Artist Name into the "Add New Exhibition" Post Form. Secondly, I can't use Artist as a Post Reference and as a repeatable field in the "Add New Exhibition" Post Form.
Is there any documentation that you are following?
I tried the following but again, when I create the "Add New Exhibition" Post Form based on the Exhibition custom type created, with a relationship already set between Artist and Exhibition, it did not work:
https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/
https://toolset.com/course-lesson/how-to-set-up-post-relationships-in-wordpress/
https://toolset.com/course-lesson/front-end-relationship-forms-for-connecting-posts/
Is there a similar example that we can see?
In the above documentation Venues and Events explains it. One venue has multiple events, just as one exhibition has multiple artists. In my Post Form to Add a New Exhibition, I should have a linking field Artist Name that links to Artist Custom Post Type and is repeatable so I can add multiple Artists to one Exhibition.
I also checked: https://toolset.com/documentation/legacy-features/views-plugin/using-post-reference-fields-to-display-information-from-a-related-post/
But when I add the Post Reference to Artists in the Field Group for Exhibitions and then try to make it repeatable, I get a pop up asking to set a many-to-many relationship between Artists and Exhibitions, which I have already done and even when the Preview Change and popup is okayed, the Post Reference gets automatically removed from the Custom Fields.