Saving multiplier data to a database table

hcohl 15 Jan, 2017
Sorry, but I dont understand this:

Saving the data to a database table
You will probably want to use two tables to save this data. One main one for the form data that is not in the multi field array and a second one for the multi-field records. You will need to link the two together by saving the main data first, then getting the Primary Key of that record - usually the id or cf_id - that ChronoForms will have added to the $form->data array. Add this to the mult-field data and use a second DB Save action with 'Multi save' and 'Save under model id' set to yes.

Add what id to what multi-field data?
If I set 'Multi save' and 'Save under model id' to yes I got no data in my table.
I'm testing this with the demo-fields-multiplier.

Can anybody help me?
Max_admin 26 Jan, 2017
Hi hcohl,

You will need 2 db save actions, one for the main table (single save), and another for the 2nd table with multi save enabled.

But managing complex data is better done using the new ChronoConnectivity v6, please give it a try first.

Best regards,
Max
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
This topic is locked and no more replies can be posted.