Forms and includes

G

Guest

In the same page I have a frontpage form and an include statement. If the
page is named with the extension .html, the form does not work correctly - ie
the confirmation page does not display, the email is not sent. If I rename
the same page to a .htm extension, the form works correctly, but the includes
(basically a header and footer) do not display. The same page with the
includes works correctly when renamed back to the extension including the
..html.

Site is maintained with Frontpage 2003, and FPSE 2002 is installed on the
server.

Any ideas or help would be greatly appreciated.
Thanks,
J D
 
T

Thomas A. Rowe

The form should work with either .html or .htm.

What type of Include are you using, FP Include or SSI (Server-Side Include)?

If SSI check with your web to see if they change the server to SSI (.shtml extension) as .html. If
so then you will not be able to use the FP form handler and the SSI on the form page.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
G

Guest

I believe you would call it a SSI. The code is:
<!--#Include Virtual="/corp-includes/standard-header.inc"-->

This same code is working fine for the rest of the website hosted on
this server. I will check the .shtml extension, but no changes have been made
there.
 
T

Thomas A. Rowe

Ok, you are using SSI, so you will not be able to use the FP Form Handler.

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 
S

Steve Easton

None that I can think of.
I've never had that problem with includes.

As Thomas asked, are these FrontPage includes or server side??
 
A

Andrew Murray

You could use the Frontpage include content - which is the equivalent of
SSI.

Include page feature works without the server extensions - with limitations.
 
R

Ronx

SSI and FP includes are not equivalent. FP includes are embedded into the
page when the page is saved, and will remain fixed until the include is
changed using FrontPage.
An SSI include is added to the page when it is served, and can be changed
at any time with any program.
 
G

Guest

Something that was said earlier led me to the solution:
Within the application Mappings the extension .htm had not been added
and mapped to the Executable Path c:\.........\ssinc.dll . Therefore the
serverside includes mentioned by Thomas that I was attempting to run on
the .htm page could not be ran. I appreciate everyones comments, and as
no specific response led to the solution, the door was opened to the answer!
Thanks! J D
 
T

Thomas A. Rowe

Glad you found a solution!

--
==============================================
Thomas A. Rowe
Microsoft MVP - FrontPage
==============================================
Agents Real Estate Listing Network
http://www.NReal.com
==============================================
 

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