I've noticed on multi-page umbraco forms that when you click the Next or Previous buttons, the view jumps back to the top of the page in the browser, which is a pain when the form is part-way down the page. Presumably because the Next and Previous pages cause a round-trip/submit. Contour never seemed to do this. Any ideas? Not really sure where to start with this one.
Sorry, would have posted this under Forms but can't seem to select any topic other than 'getting started'.
Multi-page forms issue?
I've noticed on multi-page umbraco forms that when you click the Next or Previous buttons, the view jumps back to the top of the page in the browser, which is a pain when the form is part-way down the page. Presumably because the Next and Previous pages cause a round-trip/submit. Contour never seemed to do this. Any ideas? Not really sure where to start with this one.
Sorry, would have posted this under Forms but can't seem to select any topic other than 'getting started'.
You're right, it is a server postback causing it.
Only way I can think of handling it would be in JavaScript see the most upvoted answer here:
https://stackoverflow.com/questions/484463/how-do-i-maintain-scroll-position-in-mvc
is working on a reply...