Hi Max,
I have a page with drop-downs to modify a Where clause in a read-data with a limit and paginator and the results display in a Table.
I have a trigger set on the drop-downs that when the drop-down changes, the page reloads. This works and the new data is placed in the Table
However, the paginator buttons change the URL incorrectly and add chronoform=form-alias&output=ajax to the URL and then Joomla does not load the Menu and other modules.
An example link on a paginator button is : https://my-site.org/my-menu-item?chronoform=my-page-alias&output=ajax&start_at=20
If I remove chronoform=form-alias&output=ajax from the URL in the browser, the page displays correctly.
Is there a way to fix it so that the paginator buttons do not get chronoform=form-alias&output=ajax added to them?
I wonder if this is a bug?
Hi bcraigie
Change the dropdown listener to "submit" the form, and in the Submit event do a "Page Reload", this should refresh the page with the new results and should not cause this issue
Hi Max,
I don't want to submit the form, because when I do, the drop-downs disappear. The user would then have to press a back button to change the filter criteria, making it tedious to use the form.
To use submit, I would have to duplicate the drop-downs and the results page on the submit page too. What happens then when the user submits on the submit page? Will it then go to page 2, or can I make it submit back to the same submit page?
If I could just fix the problem with the pagination buttons, it would be perfect. :-)
The dropdowns should not disappear when you submit the form with the "Reload Page" action in the "Submit" event, just try it in a test form, add a text field and a submit button in the Load event, and "Reload Page" in "Submit" then submit once, what happens ?
Aha! I had not understood you at first. 😃
Yes, that fixes it. Perfect! Many thanks.
Great, no problem! 😊