8000 Explain the new TelType a bit more · symfony/symfony-docs@58d8aa3 · GitHub
[go: up one dir, main page]

Skip to content

Commit 58d8aa3

Browse files
Explain the new TelType a bit more
1 parent 655a94b commit 58d8aa3

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

reference/forms/types/tel.rst

Lines changed: 7 additions & 1 deletion
< 69BA tr class="diff-line-row">
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,13 @@ TelType Field
55
===============
66

77
The ``TelType`` field is a text field that is rendered using the HTML5
8-
``<input type="tel">`` tag.
8+
``<input type="tel">`` tag. Following the recommended HTML5 behavior, the value
9+
of this type is not validated in any way, because formats for telephone numbers
10+
vary too much depending on each country.
11+
12+
Nevertheless it may be useful to use this type in web applications because some
13+
browsers (e.g. smartphone browsers) adapt the input keyboard to make it easier
14+
to input phone numbers.
915

1016
+-------------+---------------------------------------------------------------------+
1117
| Rendered as | ``input`` ``tel`` field (a text box) |

0 commit comments

Comments
 (0)
0