Multi Save record

Save multiple records from a form in ChronoForms v7.

Overview

In ChronoForms v7, the Multi Save option available in v5 is not present in the Save Data action, and using a Loop action with an incorrect data reference prevents saving.
Use a Loop action with the correct data provider and reference the loop value, not the row, within the Save Data action to successfully save each record.

Answered
ChronoForms v7
wi wiva 26 Sep, 2020
How can I use Multi save in chronoforms V7 as in V5.
I have two containers of fields that make up a record for the database
Multi Save record image 1
The fields have unique field names for example: ip.0.renner. in record 1 and: ip.1.runner in record 2. (notation in V5 ip [0] [rider])
Multi Save record image 2
in V5 I was able to save the records with a Multi save on "YES" in the DB save
Multi Save record image 3

In v7 no multi save is possible in the "Save Data" action
I now have a LOOP action with (dataprovider {data: ip}) and in the body a SAVE DATA action MODEL NAME = ip and DATASET = {var: loop_28.row}

Multi Save record image 4
Unfortunately, the data is not saved.
Multi Save record image 5
what am I doing wrong
Max_admin Max_admin 26 Sep, 2020
Answer
try loop_28.value instead of .row ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
in info@frouwko.nl 03 Jul, 2021
What am I doing wrong in the multisave action? I do everything described above
wi wiva 16 Jul, 2021
Did you find a solution yet?
What is/was your problem.
This topic is locked and no more replies can be posted.