Special characters in Numeric Text Box

2 posts, 0 answers
  1. Darren
    Darren avatar
    11 posts
    Member since:
    Sep 2014

    Posted 24 Jun 2015 Link to this post


    I am interested in the scenario where a numeric textbox could be configured to allow special characters, in my case the "-" and "+" characters, but not necessarily in the beginning of the number.

    For example


    Would be acceptable values.

    The value would therefore be a string, not a number

    It seems to be infeasible but I am just trying to double check?

  2. Plamen Lazarov
    Plamen Lazarov avatar
    135 posts

    Posted 26 Jun 2015 Link to this post

    Hello Darren,

    The described scenario is not supported at this point and as a workaround you could use MaskedTextBox. However keep in mind that the mask works with specific length and it cannot be changed based on the input. In other words the input can't be longer than the mask.

    Plamen Lazarov
    Join us on our journey to create the world's most complete HTML 5 UI Framework - download Kendo UI now!
Back to Top