Masking for Phone With or Without Extension

3 posts, 1 answers
  1. Laurie
    Laurie avatar
    144 posts
    Member since:
    Feb 2007

    Posted 05 Jun 2015 Link to this post

    Is it possible to mask a phone number with or without an extension?  I'm looking for:

    (612) 555-1212

    or

    (612) 555-1212 ext. 5

    or

    (612) 555-1212 ask for Larry

     Basically, the beginning of the string must be formatted as a phone number, but the user can enter whatever they want after that. 

     Can I do it?

     Thanks!

  2. Answer
    Georgi Krustev
    Admin
    Georgi Krustev avatar
    3723 posts

    Posted 09 Jun 2015 Link to this post

    Hello Laurie,

    The widget's mask can be defined with a strict length only. That being said, you can define a longer mask and discard the not populated value. Here is a demo that demonstrates this approach:
    Regards,
    Georgi Krustev
    Telerik
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Feedback Portal and vote to affect the priority of the items
  3. Laurie
    Laurie avatar
    144 posts
    Member since:
    Feb 2007

    Posted 09 Jun 2015 in reply to Georgi Krustev Link to this post

    Perfect! Thanks so much, Georgi.
Back to Top