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!

insert_id

soevind 04 Nov, 2017
Hi

I have 2 data_save. Let's say data_save1 and data_save2.

I first save data_save1 and then i want to set the last saved ID from data_save1 into data_save2.
How can i do that ?
Max_admin 05 Nov, 2017
Answer
In data_save2 you can use the "Data override" to set specific values for fields in the table, so let's say the field name is table_id, you can use:
table_id:{var:data_save1.id}
assuming the primary key of the table in "data_save1" is "id", but if the table is created using Chronoforms6 then the primary key is most probably "aid"

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