473,509 Members | 2,890 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Help with validation

Hi everyone,

I need help with a simple form validation. The form I'm using has
been the target of some spammers, and I'm wondering what else I can
do. I have a very simple validation, checking for blanks, and found
an additional zipcode validation form here:

http://javascript.internet.com/forms/val-zip-code.html

I tried combining them, and it doesn't seem to be working. I'm not
much of a programmer, so I need help. Here's the page:

http://washingtonforedwards.com/contact.php

Can someone help me at least make the zipcode validation work?

Thanks!

Chad Lupkes
Seattle
Jan 5 '08 #1
2 1448
Chad Lupkes wrote:
I need help with a simple form validation. The form I'm using has
been the target of some spammers, and I'm wondering what else I can
do. I have a very simple validation, checking for blanks, and found
an additional zipcode validation form here:

http://javascript.internet.com/forms/val-zip-code.html

I tried combining them, and it doesn't seem to be working. I'm not
much of a programmer, so I need help. Here's the page:

http://washingtonforedwards.com/contact.php

Can someone help me at least make the zipcode validation work?
Focus on server-side validation contact_success.php, that way you can
keep spammers out. Client-side validation does not help as anyone can
disable client-side JavaScript or simply directly post to your
contact_success.php without even using a browser.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jan 5 '08 #2
Good point. I'll look into PHP, which is the server-side script that
I'm most familiar with.

Thanks!

Chad

On Jan 5, 9:41 am, Martin Honnen <mahotr...@yahoo.dewrote:
Chad Lupkes wrote:
I need help with a simple form validation. The form I'm using has
been the target of some spammers, and I'm wondering what else I can
do. I have a very simple validation, checking for blanks, and found
an additional zipcode validation form here:
http://javascript.internet.com/forms/val-zip-code.html
I tried combining them, and it doesn't seem to be working. I'm not
much of a programmer, so I need help. Here's the page:
http://washingtonforedwards.com/contact.php
Can someone help me at least make the zipcode validation work?

Focus on server-side validation contact_success.php, that way you can
keep spammers out. Client-side validation does not help as anyone can
disable client-side JavaScript or simply directly post to your
contact_success.php without even using a browser.

--

Martin Honnen
http://JavaScript.FAQTs.com/
Jan 5 '08 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
4021
by: qsweetbee | last post by:
I have a form(fAddUsers) in my database. It is continue form for data entry. Some fields are required fields. Some are optional fields. There is 1 particular filed(TokenExpirationDate)on the form...
3
5246
by: Navin | last post by:
Hello friends... On a single asp.net web page i have a single server-side form that contains a couple of user-controls. Each user control has its own functionality and contains server-side textbox...
2
1620
by: Paul | last post by:
Hi, I hope somebody can help me with the following. (I have tried searching for a solution on the newsgroups but nothing is quite what I need. Feel free to point me in the direction of anything...
5
304
by: raagz | last post by:
Hi, I am using the .NET validation controls for validating . The validation works fine with IE but none of them work with Netscape 6 browser. Do i have to configure something in vS.NET to...
2
1392
by: msnews.microsoft.com | last post by:
Hi All, I m facing a problem. As u know asp.net vallidators did not work in non-microsoft browsers. So for that i m using Server Side Solution. But i don't understand how can i show the...
6
1425
by: serge calderara | last post by:
Dear all, I have read that ASP.NET does double user input validation of control when they are place on the page. Once on teh client side and again from server side right ? Could explain how...
36
3068
by: aljamala | last post by:
Hi, I keep getting this warning on a page, but I do not know what the problem is...does anyone have an idea about what could be wrong? line 88 column 7 - Warning: missing </formbefore <td> it...
2
1490
by: vijaykk | last post by:
Hi @, I new to java and i am facing
4
1430
by: AMBLY | last post by:
Hi Hope you can help me with this I run Access2000 on XP Form has 3 fields: cboSTATUS - which can be set via Limited value List A B or Complete. Default is set as A. cboTHIS - which can...
0
7234
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7136
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7344
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
5652
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4730
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3203
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
0
1570
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
1
775
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
441
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.