•
•
•
•
What is DaniWeb IT Discussion Community?
You're currently browsing the JavaScript / DHTML / AJAX section within the Web Development category of DaniWeb, a massive community of 426,932 software developers, web developers, Internet marketers, and tech gurus who are all enthusiastic about making contacts, networking, and learning from each other. In fact, there are 2,456 IT professionals currently interacting right now! Registration is free, only takes a minute and lets you enjoy all of the interactive features of the site.
Please support our JavaScript / DHTML / AJAX advertiser: Lunarpages Web Hosting
Views: 1799 | Replies: 5 | Solved
![]() |
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
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
•
•
Join Date: May 2006
Location: New Jersey
Posts: 1,422
Reputation:
Rep Power: 5
Solved Threads: 34
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.
John Conde
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
Brainyminds | Merchant Account Services | I Love Code
IT'S HERE: Merchant Accounts 101 Everything you need to know about merchant accounts!
•
•
•
•
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
![]() |
•
•
•
•
•
•
•
•
DaniWeb JavaScript / DHTML / AJAX Marketplace
•
•
•
•
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
- Can't view JavaScript on Firefox/IE (Web Browsers)
- Web browsing javascript problems (Web Browsers)
- Does Internet Explorer support Java Script ? (JavaScript / DHTML / AJAX)
- Server side script in asp won't run on Netscape (ASP)
Other Threads in the JavaScript / DHTML / AJAX Forum
- Previous Thread: Hmm... Javascript error, or Mozilla stupidity?
- Next Thread: How to validate an image field with javascript



Linear Mode