CF8 - Liste + Detail + Filter + Pagination + back button

How to maintain filters and pagination in ChronoForms 8 when using back buttons or menu navigation.

Overview

The issue occurs because filter values are not preserved across page reloads or when navigating away, and pagination can be inconsistent with active filters.
Save filter values in session variables after form submission and reload them when the form initializes. Ensure the latest CF8 update is installed, as it includes fixes for filter persistence and pagination behavior.

Answered
rb rbock 15 Nov, 2024

I have already converted some lists with filters and detail pages from CF7 to CF8. But pagination still doesn't work!

With another form, I just can't get the filters to stay set when I open it and press the back button.

rb rbock 15 Nov, 2024

OK, on ​​the second page I have DB Read + Data Merge, which overwrites the filters set on page 1. Now I save the filter values ​​in variables on the submit page of page 1 after the PageReload action and read the variables again when loading page 1, thus activating the filter checkboxes. And it works!

rb rbock 15 Nov, 2024

The only thing that remains is the inconsistency with the pagination.

rb rbock 17 Nov, 2024

Is it possible to use pagination with filters?

Max_admin Max_admin 23 Nov, 2024

can you attach a simple demo form where I can test this ? use the chronoforms8 table for the list, and do not try to save the values in variables

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rb rbock 23 Nov, 2024

In a hurry! But the principle should be recognizable!

rb rbock 23 Nov, 2024

I also noticed that the filters are deleted when you click on the Joomla menu. In CF7 they remain set.

Max_admin Max_admin 26 Nov, 2024

I think this is fixed here, please test when the new update is ready and let me know

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
rb rbock 26 Nov, 2024

Ok... And what I also noticed with CF7 is that when changing filters it doesn't jump to start_at=0. From my point of view it makes sense to always land at start_at=0 when pressing the search button again.

Max_admin Max_admin 30 Nov, 2024
Answer

Please test this on the new v8.0.29, I tested your demo form and it works

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.