Link to home
Start Free TrialLog in
Avatar of just1coder
just1coder

asked on

FrontPage Forms Not Processing

I have a very simple, 1 field form that posts to a .csv.

For some reason now it is not. I don't get any errors either :| Any ideas?

I've tried posting to several different folders, and just to email but nothing seems to get processed...
Avatar of rcmb
rcmb

Have you verified front page server extensions?

Can you post the code from the page here so I can see what you are doing?

RCMB
Avatar of just1coder

ASKER

Extensions are OK - everything else is working but forms... it looks like it is just refreshing the page, not doing anything else...

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 4</title>
</head>
<body>
<form action="--WEBBOT-SELF--" method="POST">
  <!--webbot bot="SaveResults" u-file="_private/test.csv" s-format="TEXT/CSV" -->
  <input type="text"><input type="submit"></form>
</body>
</html>
Try cutting and pasting this code into your document. Replace everything there.

I did notice you did not name your text box.

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>New Page 4</title>
</head>
<body>
<form action="--WEBBOT-SELF--" method="POST">
  <!--webbot bot="SaveResults" u-file="_private/test.csv" s-format="TEXT/CSV" -->
  <input type="text" name="Test" size="20"><input type="submit"></form>
</body>
</html>

When I tested yours without the name="Test" in the form field properties it would not write any data to the .csv file.

RCMB
No go.
When you hit submit -- what are you seeing?

RCMB
nohting.
it almost immediately refreshes.
I need to verify the server extensions are in fact running properly.

run this from your browser

http://servername/_vti_bin/shtml.dll/

where servername is your webserver

You should see something like

Cannot run the FrontPage Server Extensions' Smart HTML interpreter on this non-HTML page: ""

or

Cannot run the FrontPage Server Extensions on this page:"".

If you do not see one of these messages then your problem is server extensions.

Let me know so I can figure out where to head next.

RCMB
This is what I get:

Cannot run the FrontPage Server Extensions on this page: ""
Okay - that was a good result. Next I want to verify permissions.

Right click on the form and select form properties

Change _private/test.csv to read test.csv

Click OK and ignore the warning.

This will allow the form to create the csv file in the same folder as the form and let us by permissions set on the _private folder.

RCMB
same thing. just refreshes itself. :S
Is the site available for me to look at the page? What version of FrontPage?

As for now I believe (as you have stated), front page server extensions are working, permissions are not an issue, the form code is correct. Not much left to cover here but I am determined to find the problem.

Let me know if I can view the site and I will continue my research.

RCMB
Sorry, the site is on an intranet.

Any way to reset the permissions?

I tried creating a new web, and publishing the broken web to that, but no love there either.
Try rebuilding the server extensions (IIS Manager on the server). Also try recalculating the web.

Try making an entirely NEW form, in a new folder, and see if that works.

I've found that once a FP form breaks, it's easier to just recreate it than to try to fix it. ;-)
I have tried removing the FPSE's and then adding them back ... no go...

I have tried a new form, a new folder, and a totally new FP web ... no go... :S

I have tried to recalc. the links too, no good ... <- that *usually* fixes the problems right away, but not this time.

I have even tried clucking like a chicken ... no good ...
Posting to a MS Access database DOES work though :o
Okay -- that makes things interesting. As for now I know you do not have server extension problems, you do not have permission problems, and you do not have a website problem.

When submitting to a .csv file - does the .csv file exist in the location you are attempting to write it to?

FrontPage should create the file if it does not exist but lets try creating the file first. Open notepad and save a blank file as text.csv and import the file into the _private folder.

Set your form up to post to u-file="_private/test.csv"

Test your form while quacking like a duck (since the chicken thing did not work ;-) ).

RCMB
No objections here - glad the problem was resolved.

RCMB
ASKER CERTIFIED SOLUTION
Avatar of modulo
modulo

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial