Ok...In answering my own multi-page form question I have inevitably created a new one. I created a multi page form using <div> tags, so that when the user gets to the end of the "page" they click continue and move onto the next. my problem is that when they click continue, the page shows at the bottom of the last...confusing I know...I want a way to make it so that the when the user clicks continue, it starts the page at the top again.
Ok...so I know all that was rather confusing, here is a link to the form I am talking about:
Well my problem is not that it isn't working...my problem is that when you continue onto the next page (further in) the pages get longer and when you hit continue it doesn't drop you at the top of the page but at the bottom...I want to know how to make it start at the top of the page...
jaybee -> RE: <div> question (2/10/2005 18:50:15)
Ahhh, OK, it's fine for the first 4 pages it just goes odd when you get to page 5.
I'll take a look in the morning. Nearly midnight here.
Unless Larry wants to take a look now??? [:D] Obviously not, he's gone. [&:]
(since I see you have some .asp pages), you could submit the form to itself (or another page), each time taking the previously filled in fields using something like <% myFirstname = Request.form("Firstname") %>...
and putting them in hidden fields <input type="hidden" name="txtFirstName" value="<%= myFirstName %>" />
till the end of the form when it can all be submitted. Every time you click the submit/continue button it would reload the page automatically taking you to the top.
I know it's quite different to what you've already got, but that's how I would do it if I started from scratch (because it's the only way I know how!)[:D] and it gives you a fallback?
I am coming in late here, but the odd thing to me was that on submit, the default confirmation page displays, but hitting return to form takes me back to the first form input fields (1of 7) which wouldn't allow me to click the Applocation Payment button.
As far as this goes, a custom confirmation page could contain the users input as well as the Application button.