CF8 - Reload Page

rbock 26 Oct, 2024

Thanks to the good documentation, I quickly found out that I have to add "Reload Page" to the pre-submit action for a standalone page. Thanks! But now my link is changed when I submit it! F***ing* &view=form and ?chronoform=XYZ . That doesn't happen in CF7!

Max_admin 26 Oct, 2024
Answer

"Reload page" will reload regardless of "Pre submit", there is a post on pre submit explaining what it does

https://www.chronoengine.com/forums/topics/view/111346/pre-submit

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

I think it's about the preload action!

How do I create a filter that I pass to the DB Read action and reload the page with a button?

Max_admin 26 Oct, 2024

in your submit event add a read data followed by a reload

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

that doesn't work... it keeps changing the link and adding ?chonoform=XYZ! That doesn't happen with CF7!

rbock 26 Oct, 2024

Adding data to the data array without changing the URL also works via the menu link, for example, so why not here?

Max_admin 26 Oct, 2024

check the attached form, it will load the first form title in the text field

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

Yes, it works... That's not the problem!

Problem:

StartURL: domain.de/2024-10-18-06-05-07.html

After Reload: domain.de/2024-10-18-06-05-07.html?chronoform=test-reload-20241026-121907

Max_admin 26 Oct, 2024

that's not important, the form will always add it's parameter in case there are multiple forms on the page, and search engines will not access this page anyway

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

OK, then I have to stay with CF7 with the relevant forms, what a pity...

Max_admin 26 Oct, 2024

what is the problem with the chronoform parameter being added to the url ?

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.

VPS & Email Hosting 20% discount
hostinger