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 data in array

Carlos angel 06 Nov, 2017
Hi.

I have a form that can add more fields, but I can not save the data.
How do I create an array to save multiple dynamic fields from my form?
Max_admin 06 Nov, 2017
Hi Carlos,

This is explained in details in the manual.

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
Carlos angel 07 Nov, 2017
Hi Admin. How are you?


Well, I looked in the manual and I did not quite understand what it is to do.
I know that in the field "Data Provider" is used to create an array, but when I put some data and then I try to save some information, however I can not save this data.

Can you help me with this problem?
Max_admin 15 Nov, 2017
Answer
Hi Carlos,

The repeating fields is an advanced feature, you need to use a Loop to process the "save data" action multiple times, the "Data provider" of the "Loop" should be {data:model_name}, but the "Data provider" of the "Save data" should be the current loop data row: {var:loop_name.row}

Best regards
Max
ChronoForms developer...
Did you try ChronoMyAdmin for managing your Joomla database tables ?
This topic is locked and no more replies can be posted.

2Checkout.com

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