Hi

I'm getting a few spammers bypassing certain form elements on my site which I attribute to them having javascript disabled. Is there any way of diplaying the <form></form> content if it's enabled and otherwise displaying a message saying "We are no longer taking registrations".

I'm not too concerned about losing the 10% of regular web surfers who have javascript disabled .

Last but not least is there any way of checking to see if javascript is enabled before a form action is processed?

Thanks a lot :)

Easy, have JavaScript write that part of the page. If JavaScript is turned off, they'll never see it. That's a core principle of progressive enhancement.

That might make his site extremly slow wouldnt it??


Trying to force ppl to use scripts isnt a good idea cause it causes problems,there are other anti spam measures you can enable though that would weed out spam bots........

Trying to force ppl to use scripts isnt a good idea cause it causes problems,there are other anti spam measures you can enable though that would weed out spam bots........

I ended up doing something completely different and it seems to work so the problem is solved hopefully - thanks for everyones suggestions :)

I ended up doing something completely different and it seems to work so the problem is solved hopefully - thanks for everyones suggestions :)

How did you solve? I'm also having the same problem...

This question has already been answered. Start a new discussion instead.