Hi Max,
in previous versions of chronoforms it was possible to read (in the debugger) and get (via var: ...) the new value of the autoincrement when inserting a new set of data via the save data action. Not seen that in CF8 debugger. althoug it is possible to get it by doing a read data after a save data , it was more straighforward in previous version.
Can you consider implement it ?
Best regards and happy end of the year celebrations
simelas
Hi simelas
it's implemented, you must set the primary key name in the Save Data settings for the auto increment column value to be set
Happy new year to you too! 😊
Hi Max,
I had done that, and save data with autoincrement is (was) performing correctly, but the new value of the autoincremented field do not appear in the debugger...
Field 'category_id' is the autoincrement, and it was appearing in previous versions of chronoform but not anymore unless i am doing something wrong....
(when updating with Where statement,then 'category_id' appears in the debugger)
[save_data20] => Array
(
[category_name] => ΚΑΦΕaaa
[eshop_category] => 0
)
Hi simelas
This should be working, I have just tried to save to the chronoforms8_datalog table, the primary key is set to "id" and the Modify data source:
form_id=9999
ip=128.0.0.1
And it saves correctly:

