Hi,
I have a custom post type "MATCH", with several posts "MATCH 1", "MATCH 2"...
I have a repeater field group called "bets", with fields "name, phone, team1 score, team2 score".
What I need is :
- Use a form to allow not logged in users to add a new "bet" with their "name, phone, team1 score, team2 score" ;
- Use a view to display all bets for a all matches ;
- Use a view to display all bets for a specific match ;
- Use a view to display all bets for a specific match that match a condition.
I understand I can easily build this by adding a CPT "Bet" and a relationship, but that would mean I will have as many posts as I have bets, which may be enormous - and would therefore be weighing the database.
So my question is : is it possible / easily achievable to do this with just 1 CPT and a repeater ?
Thank you.