Forums

MULTIPAGE FORM with repeater - is it possible to have each repeated fields group in separate pages?

Elita- 16 Jan, 2019
Hello, I am designing a form that would contain two parts:
1. group with fields that don't need to be repeated;
2. group of fields that needs to be repeated (multiplied) with many fields, including two file uploads. The repeated item number may vary.

The example would be the Sports Team where 1.st group would be general information about the Team and 2.nd group would be the information about each Sportist including pictures.

Is it possible to do so that 1st group would be on Page1, and next following pages would contain 2nd group information for each sportist - Page2 for Sportist1, Page3 for Sportist2, etc...?
Moreover - is it possible that after pressing ADD button all the information including file uploads about one sportist would save in DB and files would be uploaded?

or if this is not possible -
is it possible to add the button that would save each repeater group separately in DB?

or perhaps there is some other solution that is sucessfully implemented for similar case?

The main reason is to avoid many files to be uploaded and validated at once that might cause an error - that is the problem for existing form with repeater.

Hoping for some idas -
Elita
Elita- 16 Jan, 2019
Wrong Tag, sorry. Its Chronoforms6
healyhatman 16 Jan, 2019
Yes it's all possible. Pretty complicated, but definitely doable. Just need to somehow pass from Page 1 how many iterations of the repeater you need.
Elita- 17 Jan, 2019
Aha. you mean - max possible iterations. thats doable. So, @healyhatman, would you guide me with this? Fortunately, I already have working form on one page.
healyhatman 17 Jan, 2019
That's the sort of complexity I usually charge for.

You need to name the fields on the first repeater on the first page as an array so you can use it as the data source of the repeater action on the second page. Plenty of posts on here about that but basically

team[{var:area_repeater#.key}][fieldname]
Elita- 17 Jan, 2019
will try. In case of failure will contact you directly.
This topic is locked and no more replies can be posted.