How do I create a form in FrontPage with multiple pages?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have a long form that takes time to submit once it's filled out. I thought
it might help if I break it down into smaller pages. I want the person
filling out the form to fill out one page, click the next button to go to the
next page, fill it out, and then go to the next page. Eventually I want all
data from the form to be submitted to one database. Can I do this with a
"Next" button at the end of each page and then finally a "Submit" button at
the end of the form? If it works like that, how do I create the "NEXT"
button in FrontPage?
 
A standard FrontPage form must be contained within one page.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed............
........................with a computer
 
Add a hidden field to a form
http://office.microsoft.com/en-us/assistance/HP010002011033.aspx

Note You do not need to enter a value if you are using hidden fields to
store information (for example, from one page to another in a multi-page
form), or to collect additional data from your site visitors (for example, a
login name or a timestamp).

Also take a look at this...
http://office.microsoft.com/en-us/assistance/HP052812481033.aspx

At the bottom "About hidden form fields"

HTH

Don
===================
|I have a long form that takes time to submit once it's filled out. I
thought
| it might help if I break it down into smaller pages. I want the person
| filling out the form to fill out one page, click the next button to go to
the
| next page, fill it out, and then go to the next page. Eventually I want
all
| data from the form to be submitted to one database. Can I do this with a
| "Next" button at the end of each page and then finally a "Submit" button
at
| the end of the form? If it works like that, how do I create the "NEXT"
| button in FrontPage?
 
More INFO.....

Passing values from one form to another....

The second form page needs to be an ASP page, so change the file extension
from .htm to .asp.

On the second form, put the following into the form.
<Input type="text" name="MyFieldName" Value="<%
=Request.Form("FirstFormFieldName")%>">

This will display the value from the first form into this
field,and if the input tag is within the form tag on the
second page, you can now post the form with the value
from the first form.

Once it is working, change the "Text" attribute of the
Input tag to "hidden"

Thought I would mention that

Don
==========================
| Add a hidden field to a form
| http://office.microsoft.com/en-us/assistance/HP010002011033.aspx
|
| Note You do not need to enter a value if you are using hidden fields to
| store information (for example, from one page to another in a multi-page
| form), or to collect additional data from your site visitors (for example,
a
| login name or a timestamp).
|
| Also take a look at this...
| http://office.microsoft.com/en-us/assistance/HP052812481033.aspx
|
| At the bottom "About hidden form fields"
|
| HTH
|
| Don
| ===================
| ||I have a long form that takes time to submit once it's filled out. I
| thought
|| it might help if I break it down into smaller pages. I want the person
|| filling out the form to fill out one page, click the next button to go to
| the
|| next page, fill it out, and then go to the next page. Eventually I want
| all
|| data from the form to be submitted to one database. Can I do this with a
|| "Next" button at the end of each page and then finally a "Submit" button
| at
|| the end of the form? If it works like that, how do I create the "NEXT"
|| button in FrontPage?
|
|
 
However, once you name the form with a .asp, etc. extension, it can no longer be processed by the FP
extensions, and a custom server-side script will be required to process.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Thanks for your answer, it was very helpful, except - I have no problems
adding the hidden fields that collect the data from one .asp form to the
next. But how do I get the "Submit" button from the first form to go to the
next form. Each time I try changing it, it has no response. I am not that
familiar with adding my own scripts.
 
You will need to learn to hand code ASP/VBScript. The first form has to post to the second form and
so on, this is set as the form action, which the action is the name of the second form.

--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)

FrontPage Resources, WebCircle, MS KB Quick Links, etc.
==============================================
 
Back
Top