Forums

CF8 - Back Button + DB Read

rbock 03 Nov, 2023
Max, I'm not sure if I've reported this yet: Multipage Form -> On each load page a DB Read Action, on the Submit Page the DB Save Action. Only the fields that are required for this page. DB Read Action with Data Merge (otherwise I won't get the form fields filled, right?)

Now I'm on page 3, change data, go back to page 2, go back to page 3: Now the old data for page 3 is loaded from the DB. My changes are lost. As a quick solution, I first had to deactivate all the back buttons. There have already been complaints.
Max_admin 07 Nov, 2023

Now I'm on page 3, change data, go back to page 2


after you change data on page 3 you must "submit" the form or the new data will not be stored in the session and will be lost if the page is reloaded
Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rbock 07 Nov, 2023
Page Hopping -> Yes (Users can go back or forward to previous completed pages)

I'm confused...
Max_admin 09 Nov, 2023
Yes, you can jump back but the data of the page you jump "from" can only be stored if that page was "submitted".

so if you jump from page 3 to 2, then any data on page 3 changed before the jump (link click) will be lost, because you changed the page through a "link", not using a submit
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.