how to add validation code in submission form - advice needed

Discussion in 'HTML & Website Design' started by GoHalo3, Sep 16, 2008.

  1. #1
    Hi All,

    I have a basic html site and would like to add on the submission form because I am getting a lot of SPAM. I want to add a validation code on the form but dont know how.

    The site is basic html not php and using a cgi formmail.
    Here is the site CLICK HERE

    Any ideas on how to make this easy add-on. Thanks!
     
    GoHalo3, Sep 16, 2008 IP
  2. milesbparty

    milesbparty Peon

    Messages:
    148
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    0
    #2
    You are going to be hard pressed to do any real validation using just html. You could use some javascript, but I don't recommend that. All someone has to do then is turn off javascript in their browser to bypass your validation.
     
    milesbparty, Sep 17, 2008 IP
  3. nfd2005

    nfd2005 Well-Known Member

    Messages:
    295
    Likes Received:
    20
    Best Answers:
    0
    Trophy Points:
    130
    #3
    You should look into setting up a CAPTCHA
     
    nfd2005, Sep 17, 2008 IP
  4. shahilroyhere

    shahilroyhere Well-Known Member

    Messages:
    189
    Likes Received:
    7
    Best Answers:
    0
    Trophy Points:
    130
    #4
    Try this service. Its very good and effective in stopping spam. Just intregate this in your html page. Your service needs to support php.
    http://recaptcha.net
     
    shahilroyhere, Sep 18, 2008 IP
  5. GoHalo3

    GoHalo3 Active Member

    Messages:
    606
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    55
    #5
    i have heard of this free service as many uses them, I guess I just have to turn it into PHP.
     
    GoHalo3, Sep 20, 2008 IP