[eluser]Apocryphon[/eluser]
Hey, I was wondering if this feature is included within the Form library, or if it depends on an additional plugin (AJAX, perhaps?):
Currently I have a form with fields called Teams. Each Team field is supposed to be connected to a subfield called Leader. My idea is is that someone can fill in both Team and Leader, and if they wanted to add more teams, they can click on a button that will generate a Team field and a Leader field below that. Furthermore, the Team/Leader fields are not the last fields on the page- I need to account that there are fields below too, that I don't want to be wiped out when I click on the button.
I was wondering how this would be achieved in CI. I would also appreciate it for any tips on how to store the Team/Leader pairs in the MySQL db.
Thanks!