validation not working :(

Discussion in 'JavaScript' started by me4you, May 2, 2008.

  1. #1
    This is my code.

    where is the problem. its submitting always.:rolleyes:


     
    me4you, May 2, 2008 IP
  2. eTechDude.com

    eTechDude.com Member

    Messages:
    205
    Likes Received:
    1
    Best Answers:
    0
    Trophy Points:
    28
    #2
    works here. why don't you use onClick="function test();" on the submit button?
     
    eTechDude.com, May 2, 2008 IP
  3. me4you

    me4you Well-Known Member

    Messages:
    1,989
    Likes Received:
    37
    Best Answers:
    0
    Trophy Points:
    155
    #3
    after showing the javascript msg the form is still submitting. i wana stop it. when ppl fill it then i wana submit the form. :)
     
    me4you, May 2, 2008 IP