Save Data

save form data to a database table with null values.

Overview

The issue occurs when the Save Data action is not correctly mapping form fields to database columns.
In the Save Data action, navigate to Behaviors and enable Modify data source, then map each database column to its corresponding form field.

Answered
ChronoForms v8
we webmaster211 16 Jan, 2024
Hello everyone
I'll start by saying that I don't have much experience with Joomla and PHP.

I'm trying to record the form data on the database.

it creates the new row in the table but leaves everything null.

how Save Data should be set
Max_admin Max_admin 18 Jan, 2024
did you setup the "data override" behavior in the "Save Data" action ?
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
Max_admin Max_admin 19 Jan, 2024
Answer
sorry, in v8 it's called "Modify data source", so inside the "Save data" > behaviors > Modify data source:
table_column_name={data:form_field_name}
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.