I'm building a Multipage form: in the first page I get data of a group as 'Company name' and similar, and I also get the number of individuals wishing to join a course; in the second I get data for each person by means of a repeater area. Now I'm building the actions, ad I wish to save in the same db table the data for the group and those I get (for n fields) for the individuals.
I tried to set two DB Save Actions, one of these configured as suggested for the repeater, but actually my forms stores only data from first page. I got same issue trying to save data in two different Db tables. Any ideas? Thanks a lot.
I tried to set two DB Save Actions, one of these configured as suggested for the repeater, but actually my forms stores only data from first page. I got same issue trying to save data in two different Db tables. Any ideas? Thanks a lot.
Hi Davide,
Did you check the iteration section in the manual ? it explains how to use a Loop event to do that.
The data provider of the loop should point to the fields data array and the data provider of the "save data" inside the loop should point to the loop "row".
Best regards,
Max
Did you check the iteration section in the manual ? it explains how to use a Loop event to do that.
The data provider of the loop should point to the fields data array and the data provider of the "save data" inside the loop should point to the loop "row".
Best regards,
Max
I tried to rebuild the DB action. I put {data:Model} in loop event data provider and {var:loop_event17.row} in DB Save data provider, and so I solved. Before this I tried {var:iterator_name.row} shortcode and I didn't succeed.
However thanks a lot, Max
Davide
However thanks a lot, Max
Davide
Hi Davide,
I have cleared this in the manual.
Best regards,
Max
I have cleared this in the manual.
Best regards,
Max
This topic is locked and no more replies can be posted.