Hi!
In my repeater area with multiply option on I have six fields and I load and save data from this fields to MySQL database by my php modules because of complicated processing. I filled names of this fields like field1[], field2[], field3[],... The field Data provider I filled with {data:field1}. When I run the form for the first time (there are no database data) and save input data to database it works fine, all the arrays are correct and the information in the table is also correct.
But when I try to load previously saved information from this table into my arrays, the arrays are filled correctly (I check it by print_r), but all the form fields are filled with the first values of arrays (by values of field1[0], field2[0], field3[0],...), and in addition when I want to add another six fields by pressing multiply button all new fields are not empty, they are filled with values of field1[0], field2[0], field3[0],...
In CF5 my form works OK, but in CF6 I can't understand what is wrong.
Best regards,
Sergey
In my repeater area with multiply option on I have six fields and I load and save data from this fields to MySQL database by my php modules because of complicated processing. I filled names of this fields like field1[], field2[], field3[],... The field Data provider I filled with {data:field1}. When I run the form for the first time (there are no database data) and save input data to database it works fine, all the arrays are correct and the information in the table is also correct.
But when I try to load previously saved information from this table into my arrays, the arrays are filled correctly (I check it by print_r), but all the form fields are filled with the first values of arrays (by values of field1[0], field2[0], field3[0],...), and in addition when I want to add another six fields by pressing multiply button all new fields are not empty, they are filled with values of field1[0], field2[0], field3[0],...
In CF5 my form works OK, but in CF6 I can't understand what is wrong.
Best regards,
Sergey