Hi there,
I'm a bit struggling on the ideal way to use the form (and to save the data). Does anyone have an idea how to create this form the best way with chronoform.
Example:
A registration form for a soccer team, so with input field (name, address...) as soccerteam1
In the form I want a button "add player".
When clicked you see some additional fields (name, address and which team he's part of = soccerteam1)
You can add a second player (same procedure).
Then you click 'save' and all is saved. In an ideal situation I want to have a table "soccerteams" which has all info on the team. And then a table "players" where the soccerteam-id is the key link.
A have some difficulties trying to create this. I can't save in multiple tables. I'm unable to create the additional buttons, because an unlimited amount of fields is possible and I'm not sure how to do that.
Any feedback is great,
thanks in advance,
JMN
I'm a bit struggling on the ideal way to use the form (and to save the data). Does anyone have an idea how to create this form the best way with chronoform.
Example:
A registration form for a soccer team, so with input field (name, address...) as soccerteam1
In the form I want a button "add player".
When clicked you see some additional fields (name, address and which team he's part of = soccerteam1)
You can add a second player (same procedure).
Then you click 'save' and all is saved. In an ideal situation I want to have a table "soccerteams" which has all info on the team. And then a table "players" where the soccerteam-id is the key link.
A have some difficulties trying to create this. I can't save in multiple tables. I'm unable to create the additional buttons, because an unlimited amount of fields is possible and I'm not sure how to do that.
Any feedback is great,
thanks in advance,
JMN