Forums

Edit an entry - how to save?

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?

fabrice.witkowski758 26 Feb, 2025

hello,

the fields in the form and the database have the same name ?

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 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.
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 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.
You need to login to be able to post a reply.