Empty "Created at" and "Uniq_ID"

Populate empty Created at and Uniq_ID fields when saving form data to a database.

Overview

The fields remain empty because the data source in the Save Data action is not configured to generate values for them.
In the Save Data action's Advanced settings, enable the data source and add two fields. For the 'created' field, set the value to {date:}. For the 'uniq_id' field, use {str:uuid} to generate the unique identifier.

Answered
ChronoForms v7
Mu Muth 19 Feb, 2024
In my form the "created" and "uniq_id" Fields are empty, if I save the data to a db table. How can I change this behavior?
Screenshot 2024-02-19 124759.png
Max_admin Max_admin 21 Feb, 2024
how did you configure the "Save data" action ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mu Muth 21 Feb, 2024
My configuration:
Screenshot 2024-02-21 100725.png
Mu Muth 07 Mar, 2024
I still need your help with this.
Max_admin Max_admin 07 Mar, 2024
under "Advanced settings", enable "data source" then add 2 fields, first one should be "created", set the value to {date:}

2nd one should be "uniq_id", set the value to {uuid:}

does this work ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mu Muth 07 Mar, 2024
This was partially successful. Everything is now OK with the date, the uniq_id is not yet working. But that's not so bad because the timestamp is unique.
ScreenShot.png
Max_admin Max_admin 16 Mar, 2024
what did you add in the data source, could you please attach a screenshot ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 16 Mar, 2024
Answer
sorry, in v8 you should use {str:uuid} instead of {uuid:} which was a v6/7 code
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Mu Muth 17 Mar, 2024
I'm using CF7, settings are like this:
cf7.png
This topic is locked and no more replies can be posted.