multipage forms

M

MD WebsUnlimited.com

Hi Sandy,

As in forms that send information to you or a data store? Intrinsically FP
can not chain form together for a single transmission. So the easiest
method is to roll your own or to use a third party product like SEND IT!.
http:://www.websunlimited.com/sendit/sendit.htm
 
J

Jim Buyens

-----Original Message-----
How do you create multipage forms in FrontPage?

Typically, you create each form as a separate page, and
then add ASP or ASP.NET code to control processing.

The ASP or ASP.NET code in the first form starts by
determining whether it's running because of an initial
page request or a subsequent click of the Submit button.
If initial page display, it initializes any necessary form
fields to default values. If Submit, it checks the input
for validity and then either (a) resends the same form,
with error messages, or (b) stashes the information
somewhere, then uses response.redirect or server.transfer
to display the second form.

The second (and all subsequent) forms work pretty much the
same, except that they also check to see that the required
information from prior forms is present.

If you stash the information in memory (typically in the
Session object) then the last form in the series performs
all the database updates.

If you store information in the database starting with the
first form, then the first form usually sets an order
status field (or whatever) to a code that means In
Progress. If the last form runs successfully, it resets
the status code to a value that means Ready (for the next
step in your process).

Jim Buyens
Microsoft FrontPage MVP
(e-mail address removed)
http://www.interlacken.com
Author of:
*------------------------------------------------------*
|\----------------------------------------------------/|
|| Microsoft Office FrontPage 2003 Inside Out ||
|| Microsoft FrontPage Version 2002 Inside Out ||
|| Web Database Development Step by Step .NET Edition ||
|| Troubleshooting Microsoft FrontPage 2002 ||
|| Faster Smarter Beginning Programming ||
|| (All from Microsoft Press) ||
|/----------------------------------------------------\|
*------------------------------------------------------*
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top