There was an error while loading. Please reload this page.
1 parent 754a036 commit c9830a3Copy full SHA for c9830a3
1 file changed
Form-Controls/index.html
@@ -4,7 +4,7 @@
4
<meta charset="utf-8" />
5
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
6
<title>My form exercise</title>
7
- <meta name="description" content="" />
+ <meta name="description" content="a form control for t-shirt order" />
8
<meta name="viewport" content="width=device-width, initial-scale=1" />
9
</head>
10
<body>
@@ -24,7 +24,7 @@ <h2>Personal Information</h2>
24
id="fname"
25
maxlength="10"
26
minlength="2"
27
- pattern="[A-Za-z]+"
+ pattern="^[\p{L}][\p{L}\s'-]*$"
28
required
29
/><br />
30
<br />
@@ -35,7 +35,7 @@ <h2>Personal Information</h2>
35
id="lname"
36
37
38
39
40
41
0 commit comments