|
||
| Inside Technique : Building Multistep Forms with ASP In this technique we show you how to create a complex multi-step form similar to the job sections resume input area. In the resume area, we request a large amount of information. Rather than create a single, long page we broke the form across multiple pages. Also, instead of creating a separate page and URL for each section of the form, we walk through each step by submitting the form back to the same URL. By encapsulating the entire form input process at a single URL, we also have full control over the processing and execution flow for each step. This allows the form to be bookmarked and forces all user's to start at the first step. If separate URL's are used, without redirects it is possible for user's to enter the form mid-stream. This technique is very simple to implement. It works by passing all the inputted information to the server at each step. Included in this information is a field representing the current step being processed. The flow works as follows:
This is a high-level look at the code used to generate the script. Next we take you through a demonstration script. Page 1:Building Multistep Forms with ASP © 1997-2000 InsideDHTML.com, LLC. All rights reserved. |