Forums

Page refresh issue (Wordpress)

Jim_SJH 19 Feb, 2014
Hey all!

I have an issue that I'm not sure how to rectify.

I've created a single page paralex website on Wordpress. I had always used chronoforms on joomla and wanted to use it in wordpress as it's a very stable system!

The issue I am having is the form is roughly half way down the website and when the form is submitted the page refreshes as normal but it goes to the top of the page meaning the user does not know if the submission has worked without scrolling back to where the form is.

Is there any way I can get the refresh to auto scroll to the booking form area?

Thanks in advance!
Jim_SJH 20 Feb, 2014
Help!

I think it is as simple as adding an extra parameter to the submit function that will make the page scroll to an anchor link but I'm not sure on what code I'd need to add.
Max_admin 20 Feb, 2014
Hi Jim,

You will need to use some JS code to scroll the page to the form after submit, just place this code inside a "Load js"action under the "on submit" event.

You can find the code on google, but if you can't then please let me know.

Regards,
Max
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.