Click to See Complete Forum and Search --> : Asp Form Help


gowans007
06-07-2004, 07:16 AM
Hi I have had a number of problems with ASP forms, I am trying to make the transition from PHP to ASP but I am encountering a number of problems and wondered if you guys could help.

I will totaly greatfull for any time you guys can spend on helping me with this and telling me where I am going wrong.

Previously I have put these on seperate threads where I have received some tips on sorting these but I am having no luck and really need to get these fixed.

So I am attaching the current files I am using as a zip.

Here are my problems:-

There currenlty is no way to check that all fields are full before anyone can submit data.

People entering comments with ' or ? symbols in it will receive a error message

On the page to view feedback my layout is rubbish and I need to change the type from "Feedback" to "Feedback Viewed" if the delete button is selected so it goes from the page but is not removed/deleted from the database.

PS: I am retricted to the current table, fields and field names I don't have true SQL access to teh database storing my info so anything done must keep this format.

Thanks Guys for any help you can give me with this,
It's causing me a massive head ache at current.

Bullschmidt
06-18-2004, 02:55 AM
"There currenlty is no way to check that all fields are full before anyone can submit data."

Here are some JavaScript validation resources that hopefully might be of some help:

WebDaily: Your daily source for Web Technology Tips and Tricks! - 10/27/1998
http://www.4guysfromrolla.com/webtech/102798-1.shtml
Just checks if fields filled in.

Javascript Field Validations -- Client Side Scripting by Nannette Thacker - 8/19/1999
http://www.shiningstar.net/articles/articles/javascript/javascriptvalidations.asp?ID=AW

Form Validation Using Javascript - 9/19/1998
http://www.4guysfromrolla.com/webtech/091998-1.shtml
Good tips such as saving JavaScript functions in a file called DataValidation.js and including this in pages that need this.
JavaScript functions.