Forums

Error in Save all the records in a new table

arancha 6d ago

Hello,

Although it worked fine at some point, the Save Data function doesn't save the records to a specific table. I added it as an action to Submit and added the Modify Data Source behavior, where I configured all the fields using: field_name{dat:name of column}.

What could be happening? Just in case, I uninstalled the Chronomyadmin extension and cleared the cache, but to no avail.Is there anything else I need to add to the submit tab?

Private Attachment is only visible to Author & Moderators
Max_admin 6d ago
Answer

Hi arancha

The data source should be something like {data:} providing an array of key value pairs

In "Modify data source" you need a multi line list of column_name=value, so it should be something like this:

column1={data:name}
column2={data:email}
column_message={data:message}
...etc

if you have installed Chronomyadmin AFTER Chronoforms8 then please install Chronoforms8 again over your installation, do NOT uninstall, just install over it to update the shared files

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arancha 5d ago

Hi,I've written the column list correctly, and I reinstalled Chronoforms8 after removing Chronomyadmin.Any additional ideas?

Max_admin 4d ago

Hi arancha

The next step is to check the form debug after the Save Data runs, it should show which data the Save Data saved

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arancha 3d ago
1 Likes

Fixed!

I'm writing my error in case it helps anyone.

In the Data Source field, I was directly adding my table name. When I edited it and added [data:} , my form re-entered the data into my custom table.

Max_admin 3d ago

Hi arancha

You have to choose a table to save to

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
arancha 3d ago
1 Likes

Thanks, I have the field filled in too: Table name.

You need to login to be able to post a reply.