submitting forms in a layer

J

Jim Fidler

I am creating a page
http://www.capstoneinfo.com/dev/default.htm. I have an
onload behavior for "contact us" where I posted the HTML
code from
http://www.capstoneinfo.com/dev/contact_us.htm.
Submitting the form using contact_us.htm works fine.
submitting the form using default.htm;

I recieve a 'The page cannot be found' error on the URL
http://www.capstoneinfo.com/dev/--WEBBOT-SELF--.

I'm guessing I need to place a full path somewhere in the
code for the behavior; but I don't know where, or that's
it.

Thanks
 
M

MD Websunlimited

Hi Jim,

The cause of the problem is that the data set into the layer text is what was there before the page (contact_us) is saved and
updated to utilizes shtml.dll. Here is what is in your source code:

n<form method="POST" action="--WEBBOT-SELF--">\r\n <!--webbot bot="SaveResults"
U-File="../_private/form_results.csv" S-Format="TEXT/CSV"

Notice that the form action attribute is pointing to --WEBBOT-SELF--. To correct use the page that you have saved at
http://www.capstoneinfo.com/dev/contact_us.htm by opening in Notepad and copying the source from there.

IMHO, this is a horrible method of implementing this using the FP Behaviors. This makes the page extremely volumous and it is
possible that the information will not be viewed by the visitor, especially a recurring visitor; consider Iframes instead where the
source is linked to an external file. The other problem with this method is that maintenance can soon become a nightmare and time
consuming.
 
J

Jim Fidler

Thanks,

I will use the iframes due to the editing issue, but
wanted to know what was causing the error.

Jim
-----Original Message-----
Hi Jim,

The cause of the problem is that the data set into the
layer text is what was there before the page
(contact_us) is saved and
updated to utilizes shtml.dll. Here is what is in your source code:

n<form method="POST" action="--WEBBOT-SELF--">\r\n <!-- webbot bot="SaveResults"
U-File="../_private/form_results.csv" S-Format="TEXT/CSV"

Notice that the form action attribute is pointing to --
WEBBOT-SELF--. To correct use the page that you have
saved at
opening in Notepad and copying the source from there.
IMHO, this is a horrible method of implementing this
using the FP Behaviors. This makes the page extremely
volumous and it is
possible that the information will not be viewed by the
visitor, especially a recurring visitor; consider Iframes
instead where the
source is linked to an external file. The other problem
with this method is that maintenance can soon become a
nightmare and time
consuming.


--
Mike -- FrontPage MVP '97 - '02
http://www.websunlimited.com




"Jim Fidler" <[email protected]> wrote
in message news:[email protected]...
 

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