CF8 next-page action in load of page

pimh 30 Nov, 2025

Hi Max, 

I have a check on the load for pages that depending on a piece of php code could decide that it should not show the requested page but another page. The page request is done via the content menu item. The php activates a next-page event. But althought the php shows in the debug it will execute the next-page action, nothing changes. I still see the originally requested page. Is this intended behavior? If yes, what can be a workaround to actually show the page I want?

Attached my test page, which shows the behavior as well (without using php, but always doing a next-page on load of one of the pages. 

Kind regard, Pim 

Private Attachment is only visible to Author & Moderators
pimh 14 Dec, 2025

Hi Max, 

Any update on this issue?

Kind regards,Pim

pimh 28d ago

Hi all, 

I still think this is something that should work, but for those interested a working solution. I now use a redirect. However since the {url:} is modified by the page shown and I need the first page to be shown, I included a variable at the beginning of my first page that set to {url:}. Later I can always go back to my original url using this own {var:....}. If a specific page is requested, you can add a parameter using the add parameter option in the redirect. This is in my opinion still a workaround and will require some additional steps to work. So a working next-page in the load is still desired. 

Kind regards,Pim

Max_admin 25d ago
Answer

Hi Pim

Nice solution you have found.

Is this a link issue or Next Page issue ? you can force the page in the link using the chronopage parameter, just set it to the page alias you want the link to send the user to.

Max, ChronoForms developer
ChronoMyAdmin: Database administration within Joomla, no phpMyAdmin needed.
ChronoMails simplifies Joomla email: newsletters, logging, and custom templates.
pimh 25d ago
1 Likes

Hi Max,

I think it is a Next Page issue. A Next Page set in the load section of a page doesn’t do a thing. A redirect does do the action.

Maybe it was intended behavior that a Next Page does not work in a load. If not this is a bug.

Furthermore the Next Page also does not seem to emediatly effectuate. Actions after the Next Page are on my side still executed. For instance a message view.

so yes, I can work around => fix for my usage

bug Page Load still there => not fixed

hope this makes the issue more clear.

kind regards,

Pim

Max_admin 25d ago

Hi Pim

Thanks for explaining this more, and yes, the Next Page action only works on Submit, it tells the form which page will be Loaded now

And it's correct that other actions will run, the Next Page does not end current page actions, it just updates the next page value.

If you need to end processing then use the Redirect or the Abort action

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.