There was an error while loading. Please reload this page.
1 parent 6064caa commit f2de985Copy full SHA for f2de985
1 file changed
Form-Controls/index.html
@@ -1,5 +1,5 @@
1
<!DOCTYPE html>
2
-<html lang="en">
+<html lang="en" xmlns:>
3
<head>
4
<meta charset="utf-8"/>
5
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
@@ -37,8 +37,8 @@ <h1>Product Pick</h1>
37
id="firstname"
38
name="firstname"
39
required
40
- pattern="^[A-Za-z\s'-]{2,}$"
41
- title="first name must be more than 2 characters">
+ pattern="[A-Za-z]+(?:['\-][A-Za-z]+)*"
+ title="enter a valid name">
42
</div>
43
44
<div class="form-group">
@@ -48,8 +48,8 @@ <h1>Product Pick</h1>
48
id="lastname"
49
name="lastname"
50
51
52
- title="last name must be more than 2 characters">
53
54
55
0 commit comments