I have the following contact form http://www.nick-lawrence.co.uk/contact_us.html trouble is I have just started to recieve bogus/spam submissions from it, what is an easyish way to minimise the risk of this?
Well, if the spam is automated/scripted, the most common approach is to use a CAPTCHA to make sure the submissions are from a human. (I cannot see your website, as my workplace is blocking it.)
If you have your email address on the page, no matter how you try to obfuscate it, the 'bots will get it and add it to lists. Remove it.
I don't see your email address visible anywhere on your site. What I'm wondering is if there is a photography directory somewhere that lists your contact info, including the email address. If so, that may be how spammers have gotten it. Still, if you think the spam is being generated only from your site, then implement a CAPTCHA as suggested.
Many thanks for your replies, I don't have my e-mail address on there, it is actually completing the form so I need to put something like CAPTCHA in place to distinguish whether it is being completed by a human. I hear that CAPTCHA is a bit tricky to get up and running, is there any alternatives?
Captchas are not friendly to humans and should really only be used as a last resort. I prefer to use a hidden field (honeypot) to bait & catch spambots.
The hidden form field is not visible to humans. But spambots are stupid. They auto fill any field they encounter. So if the hidden field is completed, my script flags it as spam and doesn't execute.
<input type="text" name="nospam" value="" style="display:none" />
There are no risks associated with this method and it's much kinder to your human visitors who never see it.
Europe, Middle East and Africa