Advertisement
Help Keep Boards Alive. Support us by going ad free today. See here: https://subscriptions.boards.ie/.
If we do not hit our goal we will be forced to close the site.

Current status: https://keepboardsalive.com/

Annual subs are best for most impact. If you are still undecided on going Ad Free - you can also donate using the Paypal Donate option. All contribution helps. Thank you.
https://www.boards.ie/group/1878-subscribers-forum

Private Group for paid up members of Boards.ie. Join the club.

form being filled by an unknown

  • 24-04-2011 09:53PM
    #1
    Registered Users, Registered Users 2 Posts: 114 ✭✭


    I have a form on a website that i am building, and I am using cgi email. for the past few weeks since the page has been uploaded there is something filling in the form and putting in the number 1 so when i get the filled in form sent in email containing the visitors email I get "email? 1" This can happen about 3 times a day so it is quite annoying.

    note that I do have a javascript validation on it already.

    any suggestions that would stop this, I could put in a captcha but feel this would take from the style of the site.

    on a side maybe some suggestions/links to help switch this to a database more so than getting an email.

    please any help much appreciated.


Comments

  • Registered Users, Registered Users 2 Posts: 21,278 ✭✭✭✭Eoin


    JavaScript validation won't make a difference to spambots. I hate captcha so what I'd recommend is to use a hidden form field that the user can't see. A spam bot won't know that it shouldn't be filled in, so will enter something in it. You can then discard all messages where that form field has been populated. Not too sure if you can use input type=hidden or if it's better to use CSS though.


Advertisement