Interacting different forms

G

Guest

Hi there. I have set up a questionnaire in frontpage forms. But my
questionnaire is too long to be a 'single' page. So, I wanted to devide it
into different pages. But I don't know how to link this pages AND at the same
time have the responses from ALL of the pages when my site visitors click
'submit' at the end of the last page.

Can someone please tel me how I should devide my from into different
pages(where site visitors can navigate by clicking 'next') and have the
filled results from all pages?

Thanks
 
G

Guest

Please refer to the first posting you made with this question.

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

Guest

But I replied for that, can u please help me?

Question, long to be a single page

Not many text boxes

save results in a file
 
G

Guest

Posting the same question once an hour (9:19 and 10:20 PST) isn't going to
get you a faster answer.

FWIW, to answer your question I had to search about and find an old script I
had, then I constructed two sample forms pages and tested the solution I
eventually recommended, then I wrote up and sent detailed instructions at
11:00 AM PST.

Sorry it took a whole hour and forty-one minutes to get you an answer.

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

Guest

Thanks for ur help. BUT to be honest I am a 'technologically challenged'
civil eng postgrad student. I did exactly what you told me, but not able to
get the results, except the final page.

By the way, what type of linking(navigation) should I have to use to
navigate from one form to another?

Look this is what I did:

Created 4 forms on different form fields,(my Ques needs about 5 small pages
but the first page is a cover latter)

linked them with 'interactive links', I deleted the automatic 'submit' and
'reset' buttons from the three pages(excluding the last one)and replace them
with the 'interactive buttons'
So, when I click submit, from the last page, NO results from the rest.

Would there be any possibility of making the 'Submit' button send the
results of that page to file and navigate to the next page on a click?

Ok, if there are any ways, What do u tel a 'layman' to do in this situation?

thanks
 
G

Guest

Responses interspersed.

Sol said:
Thanks for ur help. BUT to be honest I am a 'technologically challenged'
civil eng postgrad student.

Sorry, no offense, and I understand that Web development isn't your
specialty. But this is still a riot.

It's kind of like when I tell people I'm no good with machines.
I did exactly what you told me, but not able to
get the results, except the final page.

By the way, what type of linking(navigation) should I have to use to
navigate from one form to another?

Submit buttons.
Look this is what I did:

Created 4 forms on different form fields,(my Ques needs about 5 small pages
but the first page is a cover latter)

linked them with 'interactive links', I deleted the automatic 'submit' and
'reset' buttons from the three pages(excluding the last one)and replace them
with the 'interactive buttons'
So, when I click submit, from the last page, NO results from the rest.

No, you have to use Submit buttons and configure the form properties
Would there be any possibility of making the 'Submit' button send the
results of that page to file and navigate to the next page on a click?

Then you'd end up with four files. I thought you wanted one combined file.
Ok, if there are any ways, What do u tel a 'layman' to do in this situation?

thanks

Well, here are the two test pages I constructed.

multipageform1.htm
------------------------
<html>
<head>
</head>
<body>
<form method="GET" action="multipageform2.htm">
<p><input type="text" name="T1" size="20"></p>
<p><input type="checkbox" name="C1" value="ON"></p>
<p><input type="submit" value="Submit" name="B1"><input type="reset"
value="Reset" name="B2"></p>
</form>
</body>
</html>

multipageform2.htm
------------------------
<html>
<head>
<script>
function qsobj (){
var qvbl;
var qstring = "" + document.location.search.substring(1);
if (qstring != ""){
var qpairs = qstring.split("&");
for (i=0; i < qpairs.length; i++) {
qvbl = qpairs.split("=");
this["" + qvbl[0]] = unescape(qvbl[1].replace("+"," "));
}
}
}
function getqsvar(qsvar){
if (qstr[qsvar] == null){
return "";
}else{
return qstr[qsvar];
}
}
var qstr = new qsobj();

function initForm()
{
document.forms[0].C1.value = getqsvar("C1");
document.forms[0].T1.value = getqsvar("T1");
}
</script></head>
<body onload="initForm();">
<form method="POST" action="--WEBBOT-SELF--">
<!--webbot bot="SaveResults" U-File="_private/multipage.csv"
S-Format="TEXT/CSV" -->
<input type=hidden name=C1 value="">
<input type=hidden name=T1 value="">
<p><select size="1" name="D1">
<option>Yes</option>
<option>No</option>
<option>Maybe</option>
</select><input type="submit" value="Submit" name="B1"></p>
</form>
</body>
</html>

Copy and paste these into your site and see how they work.

I'm sorry this requries more than two clicks and a wink. Some people don't
believe that highways, water mains, and sewer systems should be complicated,
either.

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

=?Windows-1252?Q?Rob_Giordano_\=28Crash_Gordon=AE\

Sol said:
Sorry, no offense, and I understand that Web development isn't your
specialty. But this is still a riot.

It's kind of like when I tell people I'm no good with machines.

Better stay off any roads he designs heh?
 
A

Andrew Murray

You will need a form processor script that can handle multiple pages -
Frontpage doesn't support anything that advanced in its own right.

There would be plenty of scripts on the internet that could do this for you;
try www.hotscripts.com for starters.
choose the scripting language (asp, perl, php etc relevant to your host or
web server) and look under "form processing" category (or similar)
 
A

Andrew Murray

if you've tried the suggested solutions from your original post, then you
should really continue that thread, requesting further assistance rather
than start a new thread.
 

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