This is a migrated thread and some comments may be shown as answers.

HtmlControls - HtmlInput <input type=tel>

3 Answers 126 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
John
Top achievements
Rank 1
John asked on 10 Sep 2014, 07:23 PM
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

3 Answers, 1 is accepted

Sort by
0
Boyan Boev
Telerik team
answered on 15 Sep 2014, 01:24 PM
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
 
0
John
Top achievements
Rank 1
answered on 15 Sep 2014, 03:56 PM
Sounds good, Thank you.
0
Boyan Boev
Telerik team
answered on 16 Sep 2014, 12:25 PM
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
 
Tags
General Discussions
Asked by
John
Top achievements
Rank 1
Answers by
Boyan Boev
Telerik team
John
Top achievements
Rank 1
Share this question
or