Skip to content

Commit 16c7904

Browse files
committed
fixing pattern attribute for the names input
1 parent c9830a3 commit 16c7904

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

Form-Controls/index.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ <h2>Personal Information</h2>
2424
id="fname"
2525
maxlength="10"
2626
minlength="2"
27-
pattern="^[\p{L}][\p{L}\s'-]*$"
27+
pattern="[A-Za-zÀ-ÖØ-öø-ÿ]+"
2828
required
2929
/><br />
3030
<br />
@@ -35,7 +35,7 @@ <h2>Personal Information</h2>
3535
id="lname"
3636
maxlength="10"
3737
minlength="2"
38-
pattern="^[\p{L}][\p{L}\s'-]*$"
38+
pattern="[A-Za-zÀ-ÖØ-öø-ÿ]+"
3939
required
4040
/><br />
4141
<br />

0 commit comments

Comments
 (0)