Frontpage 2002 form error

L

Liz

Hi,

I have a form that upon submitting goes to a confirmation
page.

On the confirmation page, there is a form with one drop
down box and based on the users option/choice they are
directed to a 3rd page.

When I complete the first form it goes to the confirmation
page. When I select a choice from the drop down box, it
directs me to the 3rd page with an error of "Cannot run
the FrontPage Server Extensions on this page".

However, if I goto the confirmation page without filling
out the 1st page form, and then select an option from the
drop down it will goto the 3rd page.

How can I fix this error?
 
S

Stefan B Rusynko

Provide a URL of the confirmation page and forms




| Hi,
|
| I have a form that upon submitting goes to a confirmation
| page.
|
| On the confirmation page, there is a form with one drop
| down box and based on the users option/choice they are
| directed to a 3rd page.
|
| When I complete the first form it goes to the confirmation
| page. When I select a choice from the drop down box, it
| directs me to the 3rd page with an error of "Cannot run
| the FrontPage Server Extensions on this page".
|
| However, if I goto the confirmation page without filling
| out the 1st page form, and then select an option from the
| drop down it will goto the 3rd page.
|
| How can I fix this error?
|
|
 
S

Stefan B Rusynko

On http://www.speech-interface.com/RMAform.htm
Make sure you are writing results to a folder w/ write permissions
You have u-file="SubmittedRMAdata.txt" and normally the root does not have write permissions
- move the results to your _private folder and set the form properties to write to
u-file="_private/SubmittedRMAdata.txt"

On http://www.speech-interface.com/verify.htm
Add this script to the HEAD section if your confirmation page

<script language="JavaScript">
function go(o) {
if(o.selectedIndex == 0)
alert("Not a valid selection"); return; }
location.href = o.options[o.selectedIndex].value; }
</script>

And Change

<form action="#" onsubmit="return go(elements[0]);">
<div><select onchange="">
<option value="">&amp;lt; select an option &amp;gt;</option>
<option value="sid.htm">Speech Interface Design</option>
<option value="Vocollect.htm">Vocollect</option></select>
<input type=button value="Back" onClick="history.go(-1)">&nbsp;
<input type="submit" value="Submit" /></div></form>

To

<div><form><select onchange="go(this)">
<option value="">Select an option</option>
<option value="sid.htm">Speech Interface Design</option>
<option value="Vocollect.htm">Vocollect</option></select>
<input type=button value="Back" onClick="history.go(-1)">
</form></div>


_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


| Hi Stefan,
|
| I just email you the form urls. Thanks for your help!
|
| >-----Original Message-----
| >Provide a URL of the confirmation page and forms
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| Hi,
| >|
| >| I have a form that upon submitting goes to a
| confirmation
| >| page.
| >|
| >| On the confirmation page, there is a form with one drop
| >| down box and based on the users option/choice they are
| >| directed to a 3rd page.
| >|
| >| When I complete the first form it goes to the
| confirmation
| >| page. When I select a choice from the drop down box, it
| >| directs me to the 3rd page with an error of "Cannot run
| >| the FrontPage Server Extensions on this page".
| >|
| >| However, if I goto the confirmation page without filling
| >| out the 1st page form, and then select an option from
| the
| >| drop down it will goto the 3rd page.
| >|
| >| How can I fix this error?
| >|
| >|
| >
| >
| >.
| >
 
L

liz

Thanks for your help! I did make the changes suggested
below but the verify form doesn't load the new page when
the selection for Ship To is made. Not sure what I did
wrong?


-----Original Message-----
On http://www.speech-interface.com/RMAform.htm
Make sure you are writing results to a folder w/ write permissions
You have u-file="SubmittedRMAdata.txt" and normally the
root does not have write permissions
- move the results to your _private folder and set the form properties to write to
u-file="_private/SubmittedRMAdata.txt"

On http://www.speech-interface.com/verify.htm
Add this script to the HEAD section if your confirmation page

<script language="JavaScript">
function go(o) {
if(o.selectedIndex == 0)
alert("Not a valid selection"); return; }
location.href = o.options[o.selectedIndex].value; }
</script>

And Change

<form action="#" onsubmit="return go(elements[0]);">
<div><select onchange="">
<option value="">&lt; select an option &gt;</option>
<option value="sid.htm">Speech Interface
Design said:
value="Vocollect.htm">Vocollect said:
<input type=button value="Back" onClick="history.go(- 1)">
<input type="submit" value="Submit" /></div></form>

To

<div><form><select onchange="go(this)">
<option value="">Select an option</option>
<option value="sid.htm">Speech Interface
Design said:
value="Vocollect.htm">Vocollect said:
<input type=button value="Back" onClick="history.go(- 1)">
</form></div>


_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.net-sites.com/sitebuilder/newsgroups.asp
_____________________________________________


"Liz" <[email protected]> wrote in
message news:[email protected]...
| Hi Stefan,
|
| I just email you the form urls. Thanks for your help!
|
| >-----Original Message-----
| >Provide a URL of the confirmation page and forms
| >
| >--
| >
| >_____________________________________________
| >SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
| >"Warning - Using the F1 Key will not break anything!" (-;
| >To find the best Newsgroup for FrontPage support see:
| > http://www.net-sites.com/sitebuilder/newsgroups.asp
| >_____________________________________________
| >
| >
| | >| Hi,
| >|
| >| I have a form that upon submitting goes to a
| confirmation
| >| page.
| >|
| >| On the confirmation page, there is a form with one drop
| >| down box and based on the users option/choice they are
| >| directed to a 3rd page.
| >|
| >| When I complete the first form it goes to the
| confirmation
| >| page. When I select a choice from the drop down box, it
| >| directs me to the 3rd page with an error of "Cannot run
| >| the FrontPage Server Extensions on this page".
| >|
| >| However, if I goto the confirmation page without filling
| >| out the 1st page form, and then select an option from
| the
| >| drop down it will goto the 3rd page.
| >|
| >| How can I fix this error?
| >|
| >|
| >
| >
| >.
| >


.
 

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