Numeric validation for text field in a form

Discussion in 'Web Design, HTML And CSS' started by saturn, Jun 12, 2009.

Thread Status:
Not open for further replies.
  1. saturn

    saturn New Member

    Joined:
    Jun 2, 2009
    Messages:
    7
    Likes Received:
    0
    Trophy Points:
    0
    Hiii... :pleased:


    I am preparing a page in html which has two text fields, one for mobile no. and another for a unique numeric value(consumer no.).I have validated the text fields to be non-empty , but i am not able to validate them to be numeric (0-9 only).

    How to do this....pls help!
     
  2. SaswatPadhi

    SaswatPadhi ~ Б0ЯИ Τ0 С0δЭ ~

    Joined:
    May 5, 2009
    Messages:
    1,342
    Likes Received:
    55
    Trophy Points:
    0
    Occupation:
    STUDENT !
    Location:
    Orissa, INDIA
    Home Page:
    http://www.crackingforfun.blogspot.com
  3. shabbir

    shabbir Administrator Staff Member

    Joined:
    Jul 12, 2004
    Messages:
    15,375
    Likes Received:
    388
    Trophy Points:
    83
    Closed and Try avoiding it or else we would be forced to give some infraction
     
Thread Status:
Not open for further replies.

Share This Page

  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice