By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
435,154 Members | 1,024 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 435,154 IT Pros & Developers. It's quick & easy.

Help with validation

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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 discussion thread is closed

Replies have been disabled for this discussion.