What is the best practice for a multipage survey?

D

Dave

I need to create a survey that has 30 questions. I am thinking that it
would be less intimidating if the survey was broke up in sections.

In order to do this, are the survey results passed from page to page? Or are
all of these questions broke into sections on one page then move down the
page?

I have gone to other sites where I will be asked on question at a time. Are
those type of surveys multi-page?

Thanks

Dave
 
J

Jon Spivey

Hi Dave,
I'd agree about breaking it down into several pages. You'd really need some
server side script to do this reliably though - do you have a windows
server? If so post back and we'll help you out - not to say it can't be done
with php etc just that few of us here use that so you'd probably get better
help elsewhere.
 
D

Dave

Thanks Jon!

The server is IIS with FrontPage Extensions. The database will be MS ACCESS.

I was thinking about this and have several ideas but I have no experience
with this project. I can built the pages and send them to DBs.

Is it easier to post the results in 3 databases and then tie the results
together?
The down side is how to tie Results to 2 to 3 to final DB.

Another idea is to put the survey on the same page and in the same form then
have a next button move then user to a blank area on the page giving the
illusion of a new page?

Dave
 
S

Stephen Travis

The easiest way is to pass form fields from page to page. For example, you can pass form values as hidden fields from page1 to
page2, etc. by placing this script inside page2's form and POST(ing) form1 to it....

<form method ="POST" name="page2" action="page3.asp">
<%
Set Params = Request.Form
For Each p in Params
Response.Write "<input type=""hidden"" name=""" & p & """ value=""" & Params(p) & """>" & VbCrLf
Next
%>
<input type="submit" value="Next Page">
</form>

The final page's form can post all the data to the database.
 

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