Form on ASP page no longer works

A

Alan Oliver

Hi. Can anyone help.

I created a website a couple of years ago using FP. A .asp page contains an
FP Form which send an email and goes to a custom confirmation page. This
worked a treat for months, until I de-commissioned the website.

I've used the same .asp page again but for some strange reason when I click
the Submit button the .asp page simply refreshes with all the fields cleared
down (i.e. the form does not get submitted).

I've just searched and found one of Thomas Rowe's replies stating that FP
Forms only work on .htm pages not .asp. I can certainly confirm this - but
what I am intrigued to know is when and why this behaviour changed - I am
100% sure that FP Forms used to work on .asp pages!!!

Anyone got any ideas? I'd love to be able to save my time by using an FP
Form on .asp pages rather than have to tediously code field validations and
then a .asp form handler!!!

Cheers,
Alan
 
A

Andrew Murray

Are you using the Frontpage form handler, or a separate third-party script?

It has always been the case, that the Frontpage form processor (using the
server extensions) required pages to be named *.htm when sending email from
the form is concerned - they have never worked as "asp" pages.

You can of course get a third-party ASP script that processes your email
(i.e. doesn't use the form handler in frontpage).

If you send the data to an access database (e.g. use the database wizards in
FP or write your own ASP code) they require "*.asp" extension since it is
using ASP code in the page.

Maybe that's your confusion - the FP form processor sending email requiring
*.htm pages, and the database results wizard - where you submit data to a DB
via a form requires *.asp pages.
 
A

Alan Oliver

Hi Andrew - you've resolved my confusion!!!

I am using the FP form-handler and - indeed - I have replaced the database
mode (used successfully on a .asp page previously) with email mode (which
won't work on a .asp pages).

I'm happy, thanks. I need to use a .asp page so I'll switch to using my own
form handler and ASPEmail instead of the FP form handler.

I wonder if MS will ever improve FP to allow FP forms (with email output) to
be used on .asp pages? It would make life a bit simpler.

Cheers Andrew!
Alan
 
A

Andrew Murray

Frontpage alerts you when you do the "send to database" to rename the page
with a *.asp extension (the page that has the form); I'm suprised it doesn't
do the reverse and tells you to rename the page to *.htm when you set it to
send email instead....
 

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