Click to See Complete Forum and Search --> : Form Validation problems


mleach82
09-17-2008, 03:32 PM
I have a form that users fill out in order to upload a file to our company.

There is no validation on any of the fields in the form whatsoever, but when i try to upload a file i get the following error:

Form Validation Error
Please correct the information you provided by following these steps, then submit the information again:

("ansi837,txt") is not a valid file. Please check the information you entered and try again.

the link to the form is http://tmserver.galactek.com:81/upload.htm

Any ideas on why i am getting this error?

eCat
09-17-2008, 05:18 PM
Well.... you have a comma rather than a period before the "txt" - is that the actual name of the file you're trying to upload?

eCat

mleach82
09-17-2008, 08:38 PM
I accidentally typed in a , instead of a . when i tried that time but even if the file name has the correct syntax i still get the same error.

opifex
09-18-2008, 01:03 PM
I just uploaded ( or at least got a success page!) a 3line text file called test.txt - with all other fields empty.... hmm... you really should validate your forms either client side or server side.
frontpage forms can be a real pain ... we have never used front page for development, but have gained a fair amount of experience from fixing client problems. why not check the microsoft site for related posts.... there are always a ton of fp form problems and solutions there.

mleach82
09-18-2008, 01:24 PM
That's weird.

If i try to upload a file from a computer that is on the same network as that server i get the validation error. If i upload a file from a computer outside the network it works fine.

Oh well...as long as it works for the clients. Thanks for taking the time to look opifex, i appreciate it.