ChronoEngine.com homepage

Forums

Please write a review for the extension you are using on the Joomla extensions directory before posting a new question as we are being spammed by many negative reviews.

Thank you for your support!

saving multiple records in the table

economyweb 02 Nov, 2021
Hello bob and max,

I have a problem with save multiple records in database

The array is prepared (img01)
The save data is prepared (img02)
The result no save records (img03)


https://management.wanderlustgs.com/images/problems/img01.jpg
https://management.wanderlustgs.com/images/problems/img02.jpg

https://management.wanderlustgs.com/images/problems/img03.jpg
Look images please..
Can u help me??
economyweb 02 Nov, 2021
I've found the solution.
1. place a loop event where you want to record the rows -> name action like "miloop"
2. in loop data provider put the name of the model with the data you want to save. {data:model}
3. set save data action into the loop in body section and put the "miloop" in model name.
4. set "data sources" in advances settings (in save data)
6. for each field in every row of data source (column "value") put {var:miloop.value.field}

Voilà!!!
You need to login to be able to post a reply.

2Checkout.com

2CheckOut.com Inc. (Ohio, USA) is an authorized retailer for goods and services provided by ChronoEngine.com