Tell us what you are trying to do?
I have a process that I'm currently handling with manual post creations and csv imports and it's not scaling well. I would like to set up a form or series of forms that does the following:
1) Create a new Game post of post upon submit [custom post type: game] with several custom field inputs
2) Add one or more Team(s) (custom post type: team) that have the [game] post created in step 1 as the parent post, each team has several custom field inputs
3) For each Team created in step 2, add N number of players that would create User assigned to their respective [team] post
Is there any documentation that you are following?
https://toolset.com/documentation/user-guides/using-cred-commerce-to-add-payments-to-forms/
This post talks about selling this functionality, which I'm good with, but it's not necessary and only really handles one part of what I need.
Is there a similar example that we can see?
Not that I could find.
What is the link to your site?
https:playprelude.com
Hello,
I think the key problem of this thread is in step 3) you mentioned above.
One WordPress post can connect to only one user by post author relationship, so in your case, I suggest you try these:
1) Create a post type "players", setup one-to-many relationship between post types "Team" and "players"
2) Setup each "players" post's author as different WordPress user, one user can have only one "players" post, then you will be setup anther kind of relationship between team post and "players" users by the intermediate post type.
More help:
How to Create Custom Searches and Relationships for Users
https://toolset.com/documentation/post-relationships/how-to-create-custom-searches-and-relationships-for-users/