Have you Published this to your webserver or are you trying to test this on your local machine? You will get that error if you are testing against local disc-based web (no server running) because,,,well, there is no server running.
The messege I recieve when I do what is suggested by JIM Buyens is like this
'FrontPage Run-Time Component Page
You have submitted a form or followed a link to a page that requires a web
server and the FrontPage Server Extensions to function properly.
This form or other FrontPage component will work correctly if you publish
this web to a web server that has the FrontPage Server Extensions installed'
What would be the possible pro?, as I said my host server doesn't support
ASP files but has got FP Server Extensions
Thanks
:
This answer from Jim Buyens *still* works:
On the first form page, right-click the form and choose Properties. Then,
select Send To Other and click Options.
In the resulting dialog box, set Action to the URL of your second form, and
Method to GET.
Now open the second form and add the following script to the <head> section.
<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>
Note the two statements:
document.forms[0].C1.value = getqsvar("C1");
document.forms[0].T1.value = getqsvar("T1");
You need to modify/duplicate these once for each form field on the first
page. For example, if the first page contains four fields named custname,
address, city, and state, code:
document.forms[0].custname.value = getqsvar("custname");
document.forms[0].address.value = getqsvar("address");
document.forms[0].city.value = getqsvar("city");
document.forms[0].state.value = getqsvar("state");
Next, add an onload= attribute to the <body> tag like this.
<body onload="initForm();">
Finally, for each field on the first Web page, add a hidden form field like
ones below to the form on the second page:
<input type="hidden" name="custname" value="">
<input type="hidden" name="address" value="">
<input type="hidden" name="city" value="">
<input type="hidden" name="state" value="">
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)
|/----------------------------ÂÂÂ-----------------------
*-----------------------------ÂÂÂ-----------------------
:
How can I post one frontpage form to another?.
What I have:
A long frontpage form which I HAVE to devid into 4 pages
What I need:
1. To navigate from one page to another and transfer the responses of the
previous pages to the next(as hidden one) and finnaly have the whole response
as a FILE.
What I tried and failed:
1. I used hidden field as a means of transfering date from one form to
another BUT I don't know how I can navigate fron one page to another. When I
use 'submit' button the page only navigates to the automatic confirmation
page and I don't know how to make this button go to the next form and at the
same time stor the results of that same page(either on the next page as
hidden or send it to the servor as separat one)
2. I can use some other navigation tools to link from one form page to
another(Such as interactive button) BUT can transfer the data from the
previous pages, neither to the next page as hidden nor to server as separate
file.
What is the way out of this trouble
Thanks