Protecting HTML Forms from Spam with JavaScript
If you are looking for a quick way to avoid automated form spam on existing forms, you may want to try this simple JavaScript form spam protection trick. You won’t get a level of form protection (and usability) comparable to what you would get with FormSmarts, but then you can implement the trick on any existing forms, irrespective of the form handler you are currently using.
We plan to offer the ability to use FormSmarts as a form spam filter for third-party forms within a few months. This will effectively allow users of other form processors to benefit from FormSmarts’ form spam protection on their existing HTML forms, with very little change. Details and availability will be advertised here.
Posted by FormSmarts on
Dec 25, 2007 at 8:01 pm in form spam.
Permalink
· Comment
Tags: comment spam, form spam
3 Responses to “Protecting HTML Forms from Spam with JavaScript”
What are the usability implications of using JavaScript to protect my forms against automated postings? Don’t all browsers in use today support JavaScript?
Erica,
Even if all desktop browsers support JavaScript, some user disable JavaScript to prevent possible web exploits like rogue redirections or cross-site scripting. That is sometimes a corporate policy over which individual users have no choice.
There are also concerns with mobile users. Not all web-capable cellphones support JavaScript at this time. And since Internet data transfer over mobile networks is expensive and typically charged per megabyte, there are rational reasons to disable JavaScript on JavaScript-enabled handsets like BlackBerry or iPhone smartphones.
People using FormSmarts to power their web forms expect our forms to be usable by anyone, so we use JavaScript to enhance form submission experience, but JavaScript is not required to submit a form.
Here is a quick trick. Any legitimate browser that doesn’t support JS will show the content of tags. So can just explain there why JavaScript is required to submit a form. That may be just what you need for a small website.
Leave a Reply
About the Form Builder Blog
Categories
- booking (1)
- collaboration (6)
- event registration (3)
- file upload (2)
- form builder (52)
- form handler (9)
- form spam (5)
- HTML form (11)
- mobile form (1)
- online form (10)
- payment form (14)