Javascript & Css Form Validation

Discussion in 'PHP' started by girishbm.gowda, Feb 1, 2010.

  1. #1
    hi
    i need to have form(username,password and email) validation.

    The validation should not have pop- up messages instead of that it should dispaly message beside the text box and text box should be red color.......

    can any give the link r any source code.......

    regard's
    girish
     
    girishbm.gowda, Feb 1, 2010 IP
  2. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #2
    You mean like those forums that uses ajax?
     
    Kaizoku, Feb 1, 2010 IP
  3. girishbm.gowda

    girishbm.gowda Guest

    Messages:
    18
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    using javascript and css.. no ajax required
     
    girishbm.gowda, Feb 1, 2010 IP
  4. vinoth.t

    vinoth.t Peon

    Messages:
    156
    Likes Received:
    2
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Just div or td and show your message in that td. It can be done by javascript it self there is no need of ajax, Just use
    decument.getElementById("error-msg").innerHTML="Your msg";
     
    vinoth.t, Feb 1, 2010 IP
  5. Kaizoku

    Kaizoku Well-Known Member

    Messages:
    1,261
    Likes Received:
    20
    Best Answers:
    1
    Trophy Points:
    105
    #5
    You need ajax for it to look up if username is taken or if email is used.
     
    Kaizoku, Feb 2, 2010 IP