Don't use javascript, use php, cgi or asp but don't use javascript or html.
Why? Because it's so easy to get passed, all they have to do is viewsource and type in something else and eureaka they've passed.
------------------------------------
Assuming it's for a subscription form...
------------------------------------
If you use php, I recommend you should make it so they can't fill in the form again.
To do this you could:
1) Set a cookie
2) Add their ip address to a list of forbidden ips.
Go for number 2, preferably, as it's harder to pass as if you went for no. 1 they could just delete their cookies.
If you like any of these suggestions don't ask me because I know little php or cgi. I like asp
Reply