SitePoint Sponsor

User Tag List

Results 1 to 5 of 5
  1. #1
    SitePoint Enthusiast Atle Iversen's Avatar
    Join Date
    Jul 2010
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)

    Question How can I avoid spam in a simple 'Contact us' form ?

    I want the 'Contact us' form to be as simple as possible - CAPTCHA is not wanted !

    I've tried an empty field that should be kept empty; it works quite nice, but is not the most "elegant" solution... anyone have any good tips on how to do this as easy for the user as possible (and for me as well, if possible :-) )

    I've seen some use simple questions like 'What is the color of the sun' and 'what is the sum of 5 and 3' etc, but doesn't seem too elegant either

  2. #2
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,658
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Those are both the easiest there are. Aside from that you could prevent any links being entered in any of the fields. If they can't submit a URL their spam is useless

  3. #3
    SitePoint Enthusiast Atle Iversen's Avatar
    Join Date
    Jul 2010
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Thanks ! So if we check for "http://" for example, and then stop the message, we should be able to prevent most spam ?

    Of course, our users won't be able to send us any links, but if we just report back an error-message telling them that URLs not allowed, it should be acceptable ?

    Sounds like a great idea - thank you !

  4. #4
    SitePoint Wizard bronze trophy PicnicTutorials's Avatar
    Join Date
    Dec 2007
    Location
    Carlsbad, California, United States
    Posts
    3,658
    Mentioned
    15 Post(s)
    Tagged
    0 Thread(s)
    Exactly. Trying to remember, i think mine checks for http:// and www. and [url]

  5. #5
    SitePoint Enthusiast Atle Iversen's Avatar
    Join Date
    Jul 2010
    Posts
    43
    Mentioned
    0 Post(s)
    Tagged
    0 Thread(s)
    Ahhh..didn't think of [url] - thanks !


Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •