Javascript Validation for enter telephone number

Discussion in 'ASP .Net' started by Sirisha, Nov 17, 2006.

  1. Sirisha

    Sirisha Guest

    I have one textbox for enter telephone numbers.
    i want that text box can accepts only 0 to 9 digits and one sapcace,
    -,special characters.

    I want Javascript script validation for that text box
     
    Sirisha, Nov 17, 2006
    #1
    1. Advertising

  2. Sirisha

    Scott M. Guest

    How about the Regular Expression Validator Control with the
    ValidationExpression property set to phone number? Or, enter a regular
    expression of your own?


    "Sirisha" <> wrote in message
    news:...
    >I have one textbox for enter telephone numbers.
    > i want that text box can accepts only 0 to 9 digits and one sapcace,
    > -,special characters.
    >
    > I want Javascript script validation for that text box
    >
    >
     
    Scott M., Nov 17, 2006
    #2
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Ed Dror

    Telephone Data Format?

    Ed Dror, Feb 15, 2006, in forum: ASP .Net
    Replies:
    1
    Views:
    399
    blackstaronline.net
    Feb 16, 2006
  2. Denis

    programming a telephone

    Denis, Jan 10, 2006, in forum: Java
    Replies:
    6
    Views:
    490
    David N. Welton
    Jan 10, 2006
  3. bernadou

    Format telephone number??

    bernadou, Jan 22, 2006, in forum: ASP .Net Web Controls
    Replies:
    2
    Views:
    208
    bernadou
    Jan 23, 2006
  4. HopfZ
    Replies:
    0
    Views:
    597
    HopfZ
    Aug 28, 2006
  5. Sirisha
    Replies:
    4
    Views:
    236
    Evertjan.
    Jan 9, 2007
Loading...

Share This Page