HtmlControls - HtmlInput <input type=tel>

4 posts, 0 answers
  1. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 10 Sep 2014 Link to this post

    Is there any current support for Html Input Type "tel"?  In terms of accessing and invoking javascript on an element of type HtmlInputTel which Control should I attempt to use, or will 'InputTel's be not accessible?   Example of Html Code below:

    <div id="rowPhone" class="formRow" style="">
        <label class="inlineBlock inputLabel" for="myAccount_phone">Primary Phone:(/label>
        <input id="myAccount_phone" class="inlineBlock error" type="tel" aria-describedby="errorContainer_phone" data-bind="value: Phone" name="phone" aria-invalid="true">
        <div id="ui-id-24" class="error fieldErrorContainer" aria-atomic="true" role="alert" style="width: 140px; text-align: left; position: relative; top: 0px; left: 103.85px; height: auto;"></div>

    Is this something that is in the works for future Telerik development?  Thanks
  2. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 15 Sep 2014 Link to this post

    Hi John,

    Thank you for contacting us.

    Please note that input type=tel is not supported in any browser. No browser has a telephone validation. Input type=tel is a simple input field.

    You have two options here:

    1. Change the type to text for example and use HtmlInputText.

    2. Leave the type to tel and use HtmlInputControl which is the default control for all input types.

    Hope this helps.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
  3. John
    John avatar
    10 posts
    Member since:
    Nov 2013

    Posted 15 Sep 2014 in reply to Boyan Boev Link to this post

    Sounds good, Thank you.
  4. Boyan Boev
    Admin
    Boyan Boev avatar
    1040 posts

    Posted 16 Sep 2014 Link to this post

    Hi John,

    I am glad I could help.

    If you need further assistance, please let us know.

    Regards,
    Boyan Boev
    Telerik
     
    Quickly become an expert in Test Studio, check out our new training sessions!
    Test Studio Trainings
     
Back to Top