Click to See Complete Forum and Search --> : multiple step form


reeta82
August 24th, 2003, 11:39 PM
can anyone give me the example source code of multiple step form using asp....plzzzzz

Satishpp
August 25th, 2003, 01:01 PM
reeta82,

I am posting this as a reply to this and a couple of other posts by you.

Most of your questions are basic ASP / web concepts questions. We would be delighted to answer specific queries you have, but your posts are quite generic.

I suggest you buy a good book on ASP (like Wrox publications ASP3.0 for beginners) or learn the basics of ASP from sites like this
http://www.w3schools.com/asp/default.asp

Once your basic on topics like cookies, sessions, HTML forms, Accessing databases are in place, you will find the sailing smooth.

Anyhow, about this post, I am not sure what a multiple step form is ... could you elaborate?



Satish

Vanny
September 9th, 2003, 03:20 AM
I dont have any examples of a multiple step forms on me and they would be much to hard to post all here.

Basically I DO NOT recommend them, they cause me more problems than they were worth, as many people did 2 or 3 out of the 8 steps stopped and then wondered why there transactions didnt take place. Remember make your software for idiots and you will be alright.

If you really need to do it there are three different ways using ASP that you can do it. Each has its pro and cons, ill let you work them out

1. Store the data submitted in each page a session variable, and the top of the second page. you will need one variable for each form item for each page. On the last page you will have all you session variable that you can process on. But remember session timeout will cause problems.

2. When submitting data from one page to the next store all the values in hidden field (like session variables), this eliminates the session problem, however you will need to keep accumulating hidden tags at the top of each page.

eg <INPUT TYPE=hidden NAME=name VALUE"<%=Request("NAME")%>">

3. After each page submission do a transaction with the database and store the data, and just pass the record ID number to the next page, this allows you to move around the system much more, remember you have to then write code the retrieve these values from the database to display, this is a lot more work, but probably the most effective.

Now I know that is breif but it gives you some ideas.