Hello, I created a registration form where user can enter the number of participants on the first page of Multipage form;
On the next page the repeater shows Participants detail data entries:

For the repeater area I defined Data provider {data:rep}, where rep is calculated source of the data set used to repeat the content (i used javascript function to subtract 1 from the Number of Participants to get the right count);

Repeated fields have been defined as follows: rep[{var:area_repeater52.key}][Uzv]

Save data is in the loop action and is defined as follows:


The debug shows following:
What is wrong here? Thank you in advance -
Elita
P.S. And yes, first time i run the form I got the DB error - with missing Array column, so I created that.
On the next page the repeater shows Participants detail data entries:

For the repeater area I defined Data provider {data:rep}, where rep is calculated source of the data set used to repeat the content (i used javascript function to subtract 1 from the Number of Participants to get the right count);

Repeated fields have been defined as follows: rep[{var:area_repeater52.key}][Uzv]

Save data is in the loop action and is defined as follows:


The debug shows following:
Array ( [option] => com_chronoforms6 [chronoform] => multipage-repeater-copy [event] => submit [rep] => Array ( [0] => Array ( [Uzv] => rep1 [Vards] => rep1sur [email] => rep1email ) [1] => Array ( [Uzv] => rep2 [Vards] => rep2sur [email] => rep2email ) [2] => Array ( [Uzv] => rep3 [Vards] => rep3sur [email] => rep3email ) ) [button57] => [Itemid] => [skaits] => 3 [button56] => )
[save_data22] => Array ( [data] => Array ( [Uzv] => rep3 [Vards] => rep3sur [email] => rep3email [created] => 2019-02-28 18:59:22 [user_id] => 0 [skaits] => 3 [rep] => Array ( [0] => Array ( [Uzv] => rep1 [Vards] => rep1sur [email] => rep1email ) [1] => Array ( [Uzv] => rep2 [Vards] => rep2sur [email] => rep2email ) [2] => Array ( [Uzv] => rep3 [Vards] => rep3sur [email] => rep3email ) ) ) [_success] => Data saved successfullyUnfortunately, as a result, DB entries have 3 similar entries from the last (3rd) repeater data entry.
What is wrong here? Thank you in advance -
Elita
P.S. And yes, first time i run the form I got the DB error - with missing Array column, so I created that.