Edit an entry - how to save?

Save edited form entries to a database.

Overview

The issue occurs when individual form fields are not configured to save data, even though the save action is set to process the entire form.
Enable form debug to verify the SQL statement, then ensure each field in the form has its "save data" option enabled to allow updates to the database.

Answered
ChronoForms v7
vi vizax 26 Feb, 2025

Hello again,

I have a form (my last in v7), a beautiful list of all entrys, a wonderful detail page, which shows all fields of the entry in a form in text fields.

These text fields can i edit, as well. But I am not able to save ist to the database table.

I have a second Page "detail_save", and there is a action "save data" with the right table, the modell-name, update existing record and whole data form. But if I submit and get to this page there are no savings to the table.

Where is my faillure, where  do i think false?

vi vizax 26 Feb, 2025

Hello,

thank you for your answer. I am happy about every help!

Yes, fields in form and database matches. The Text fields also show the correct entry and I am able to modify them. But if I want to save all changes are canceld.

Max_admin Max_admin 26 Feb, 2025

Please enable the form debug and check if the debug shows a SQL insert or update statement done when you save ?

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
vi vizax 27 Feb, 2025
Answer

Thanks for this hint, Max!With a third view into the debug-report I saw, that there are just two fields in the insert. The ID and one other field. This was a field, on which I set "save data". I was blended from setting the save action on "whole form", so I never thought about this.

Now I set all fields on "save data" and it works! Thank you!

Max_admin Max_admin 27 Feb, 2025

great, no problem! :)

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.