Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Problem with form

Status
Not open for further replies.

ozrock

Programmer
Nov 3, 2002
13
Hi,

I have a friend who someone made him a few pages using FP. I am a Dreamweaver nut and not that up on FP enough to find this problem alone and need some help. He has no idea at all except his form doesn't work!

This is the form part of the page. I know what I'd do if it was an regular oage but with FP I don't want to mess with it as all his extns are all set up for FP.

When I complete and send the form I get this.

The requested URL /--WEBBOT-SELF-- was not found on this server.

Additionally, a 404 Not Found error was encountered while trying to use an ErrorDocument to handle the request.

--- This is the code..

(I have no idea why his C:\ hard drive info is there as this page is on a server 10k miles away from that hd)

<form method="POST" action="--WEBBOT-SELF--" onsubmit="return FrontPage_Form1_Validator(this)" language="JavaScript" name="Creative_Brief">
<!--webbot bot="SaveResults" U-File="C:\My Documents\Daves Web\creative_brief.txt" S-Format="TEXT/PRE" S-Label-Fields="TRUE" B-Reverse-Chronology="FALSE" S-Email-Format="TEXT/PRE" S-Email-Address="craigdeathe@cowboy.com" B-Email-Label-Fields="TRUE" B-Email-Subject-From-Field="FALSE" S-Email-Subject="Creative Brief" S-Builtin-Fields --><input type="hidden" name="recip" value="craigdeathe@cowboy.com"><input type="hidden" name="subj" value="Creative Brief"><P>

Thanks

rock
 
Hi rock,

Generally speaking, as a way to protect the users input, the file results should be stored in the _private folder.

Hence, _private/creative.txt

This would require making sure the file creative.txt resides in the _private folder. You can use a blank Notepad to create it.

Just remove the C: drive stuff preceeding this in form properties. Make sure the change takes. Check both the initial Form Properties display and under the File Results tab to see that they match.

This is the only problem I can see with this particular HTML. Unfortunately, there could be problems with the remaining form HTML. It's always best to include a URL for the problem page or at least the full form HTML.

The 404 error is most llikely related to the inability to access C: drive.

Just to be sure, check the "Submit" button HTML to make sure there isn't a mailto: hyperlink attached, as FrontPage doesn't operate this way.

In addition, a reminder the FrontPage form relies on not only the extensions, but also publishing with FrontPage to http location.

Hey Corey,

Thanks for the plug.

Hit me with an email or PM. I was wondering how your server config is going?

Hope I have been of some help,
Micheal

FrontPage Form Tutorials & Form Script Examples
 
Thank you for your help..

I have now tried to open a web on his site with FP but keep getting a message like this.

The folder isn't accessable , could be located in an unavail location protected with pwd or need /\ etc...

I am using the ID and pwd he gave me for ftp etc which works fine but somehow not in FP. He says he can't recall being given any other and has no access to the guy who did it near 2 years ago!!

Is there another way I can get to make the changes ?

It's a breeze with ftp to change the page content or even put a normal form tag in that will work with his values but I'm not sure whether doing this still upsets the extns.

Any advice which way to go. I really don't want to have to rebuild his site for him from scratch!

Thanks

rock :)
 
Hi Rock,

The password to enter site should be the same whether you use FTP or FrontPage publish.

Since you are working on a form component page, you need to use FrontPage publish to http.

It could well be that the extensions have become corrupt and need to be reset or reinstalled.

Sometimes, this option is available in the site control panel and sometimes the host will need to do this for you.

If worse comes to worse, there is a more labor intensive option. Hopefully it is a small site. You may end up having to copy the pages one by one into a new web and then try publishing over all pages on the site.

Try the reset and wait a while before trying to open the site.

Hope I have been of some help,
Micheal

FrontPage Form Tutorials & Form Script Examples
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top